From 6315831712123af530943bd9129425c6dc6d7a17 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@953523 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qpid/acl/AclData.cpp | 4 ++-- qpid/cpp/src/qpid/acl/AclValidator.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'qpid/cpp/src') diff --git a/qpid/cpp/src/qpid/acl/AclData.cpp b/qpid/cpp/src/qpid/acl/AclData.cpp index a03d5b4d55..658529b270 100644 --- a/qpid/cpp/src/qpid/acl/AclData.cpp +++ b/qpid/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 '" << diff --git a/qpid/cpp/src/qpid/acl/AclValidator.cpp b/qpid/cpp/src/qpid/acl/AclValidator.cpp index aeaf638f54..57b68e520a 100644 --- a/qpid/cpp/src/qpid/acl/AclValidator.cpp +++ b/qpid/cpp/src/qpid/acl/AclValidator.cpp @@ -37,7 +37,7 @@ bool AclValidator::IntPropertyType::validate(const std::string& val) { try { v = boost::lexical_cast(val); - }catch(const boost::bad_lexical_cast& e){ + }catch(const boost::bad_lexical_cast&){ return 0; } -- cgit v1.2.1