From 01b1c7b1aa14047abf48fb7028d77ca6c2024803 Mon Sep 17 00:00:00 2001 From: "Stephen D. Huston" Date: Fri, 11 Jun 2010 00:52:28 +0000 Subject: Fix unreferenced variable warnings on Windows build. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@953523 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/acl/AclData.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/qpid/acl/AclData.cpp') diff --git a/cpp/src/qpid/acl/AclData.cpp b/cpp/src/qpid/acl/AclData.cpp index a03d5b4d55..658529b270 100644 --- a/cpp/src/qpid/acl/AclData.cpp +++ b/cpp/src/qpid/acl/AclData.cpp @@ -101,7 +101,7 @@ AclResult AclData::lookup(const std::string& id, const Action& action, const Obj try{ aclMax = boost::lexical_cast(pMItr->second); - }catch(const boost::bad_lexical_cast& e){ + }catch(const boost::bad_lexical_cast&){ match = false; QPID_LOG(error,"Error evaluating rule. " << "Illegal value given in ACL source <" << aclSource << @@ -113,7 +113,7 @@ AclResult AclData::lookup(const std::string& id, const Action& action, const Obj try{ paramMax = boost::lexical_cast(paramItr->second); - }catch(const boost::bad_lexical_cast& e){ + }catch(const boost::bad_lexical_cast&){ match = false; QPID_LOG(error,"Error evaluating rule. " << "Illegal value given in lookup for property '" << -- cgit v1.2.1