summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2010-06-11 00:52:28 +0000
committerStephen D. Huston <shuston@apache.org>2010-06-11 00:52:28 +0000
commit6315831712123af530943bd9129425c6dc6d7a17 (patch)
treed53777b49b96b3e474ce8ce860c7b28649482881 /qpid/cpp/src
parent5a9ca375867f290191335788dbbbb66d15e81966 (diff)
downloadqpid-python-6315831712123af530943bd9129425c6dc6d7a17.tar.gz
Fix unreferenced variable warnings on Windows build.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@953523 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/acl/AclData.cpp4
-rw-r--r--qpid/cpp/src/qpid/acl/AclValidator.cpp2
2 files changed, 3 insertions, 3 deletions
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<uint64_t>(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<uint64_t>(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<int64_t>(val);
- }catch(const boost::bad_lexical_cast& e){
+ }catch(const boost::bad_lexical_cast&){
return 0;
}