summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/IceGrid/NodeSessionManager.cpp2
-rw-r--r--cpp/src/IceGrid/ServerI.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/NodeSessionManager.cpp b/cpp/src/IceGrid/NodeSessionManager.cpp
index 6c4d4cefc90..40e3d33db6d 100644
--- a/cpp/src/IceGrid/NodeSessionManager.cpp
+++ b/cpp/src/IceGrid/NodeSessionManager.cpp
@@ -340,7 +340,7 @@ NodeSessionManager::run()
}
}
}
- catch(const Ice::LocalException& ex)
+ catch(const Ice::LocalException&)
{
// IGNORE
}
diff --git a/cpp/src/IceGrid/ServerI.cpp b/cpp/src/IceGrid/ServerI.cpp
index 2c0ea9ce4ff..67953e08d04 100644
--- a/cpp/src/IceGrid/ServerI.cpp
+++ b/cpp/src/IceGrid/ServerI.cpp
@@ -740,7 +740,7 @@ ServerI::setEnabled(bool enabled, const ::Ice::Current&)
{
observer->updateServer(_node->getName(), getDynamicInfo());
}
- catch(const Ice::LocalException& ex)
+ catch(const Ice::LocalException&)
{
//
// Expected if the master IceGrid registry is down.
@@ -2169,7 +2169,7 @@ ServerI::setStateNoSync(InternalServerState st, const std::string& reason)
{
observer->updateServer(_node->getName(), getDynamicInfo());
}
- catch(const Ice::LocalException& ex)
+ catch(const Ice::LocalException&)
{
//
// Expected if the master IceGrid registry is down.