From 16667a21c3052c89218d3e56098f0fc29dca2f1a Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Fri, 08 Feb 2008 22:16:15 +0000 Subject: minor fixes and making compiler a bit happier Signed-off-by: Michael Krelin --- (limited to 'lib/sreg.cc') diff --git a/lib/sreg.cc b/lib/sreg.cc index b40cd45..0bd4d2e 100644 --- a/lib/sreg.cc +++ b/lib/sreg.cc @@ -55,12 +55,10 @@ namespace opkele { string pfx; try { pfx = om.find_ns(OIURI_SREG11,"sreg"); - }catch(failed_lookup& fl) { + }catch(failed_lookup&) { try { pfx = om.find_ns(OIURI_SREG10,"sreg"); - }catch(failed_lookup& fl) { - return; - } + }catch(failed_lookup&) { return; } } pfx += '.'; for(fields_iterator f=fields_BEGIN;f