diff options
| author | Stephen D. Huston <shuston@apache.org> | 2010-06-11 00:52:28 +0000 |
|---|---|---|
| committer | Stephen D. Huston <shuston@apache.org> | 2010-06-11 00:52:28 +0000 |
| commit | 01b1c7b1aa14047abf48fb7028d77ca6c2024803 (patch) | |
| tree | c6ab593467bbcb7321cb5e0269d30d8833c18c7d /cpp/src/qpid | |
| parent | 3215c9de089ca72d327124ba425aa13919da5e35 (diff) | |
| download | qpid-python-01b1c7b1aa14047abf48fb7028d77ca6c2024803.tar.gz | |
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
Diffstat (limited to 'cpp/src/qpid')
| -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; } |
