diff options
Diffstat (limited to 'cpp/src')
| -rw-r--r-- | cpp/src/qpid/acl/AclData.cpp | 4 | ||||
| -rw-r--r-- | cpp/src/qpid/acl/AclValidator.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
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<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/cpp/src/qpid/acl/AclValidator.cpp b/cpp/src/qpid/acl/AclValidator.cpp index aeaf638f54..57b68e520a 100644 --- a/cpp/src/qpid/acl/AclValidator.cpp +++ b/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; } |
