summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpp/src/qpid/ha/StatusCheck.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/ha/StatusCheck.cpp b/cpp/src/qpid/ha/StatusCheck.cpp
index f6371d018a..d73f2cf8b5 100644
--- a/cpp/src/qpid/ha/StatusCheck.cpp
+++ b/cpp/src/qpid/ha/StatusCheck.cpp
@@ -100,11 +100,11 @@ void StatusCheckThread::run() {
QPID_LOG(info, statusCheck.logPrefix << "Checking status of " << url << ": " << error.what());
}
try { c.close(); }
- catch(const exception& e) {
+ catch(const exception&) {
QPID_LOG(warning, statusCheck.logPrefix << "Error closing status check connection to " << url);
}
try { c.close(); }
- catch(const exception& e) {
+ catch(const exception&) {
QPID_LOG(warning, "Error closing status check connection to " << url);
}
delete this;