From c5e9a0913d3e4e13d69b9e5ea18625183772b5c5 Mon Sep 17 00:00:00 2001 From: "Stephen D. Huston" Date: Fri, 7 Jun 2013 22:38:17 +0000 Subject: Fix compile warning on Visual Studio. NO-JIRA. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1490856 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qpid/ha/StatusCheck.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qpid/cpp') diff --git a/qpid/cpp/src/qpid/ha/StatusCheck.cpp b/qpid/cpp/src/qpid/ha/StatusCheck.cpp index f6371d018a..d73f2cf8b5 100644 --- a/qpid/cpp/src/qpid/ha/StatusCheck.cpp +++ b/qpid/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; -- cgit v1.2.1