summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/IceGrid/LocatorRegistryI.cpp4
-rw-r--r--cpp/src/IceGrid/NodeSessionManager.cpp1
2 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/LocatorRegistryI.cpp b/cpp/src/IceGrid/LocatorRegistryI.cpp
index ac2bff1828a..1c48a9cd1bb 100644
--- a/cpp/src/IceGrid/LocatorRegistryI.cpp
+++ b/cpp/src/IceGrid/LocatorRegistryI.cpp
@@ -295,11 +295,11 @@ LocatorRegistryI::setAdapterDirectProxy(const AMI_Adapter_setDirectProxyPtr& ami
amiCB->ice_response();
return;
}
- catch(const AdapterExistsException& ex)
+ catch(const AdapterExistsException&)
{
// Continue
}
- catch(const AdapterNotExistException& ex)
+ catch(const AdapterNotExistException&)
{
throw Ice::AdapterNotFoundException(); // Dynamic registration not allowed on the master.
}
diff --git a/cpp/src/IceGrid/NodeSessionManager.cpp b/cpp/src/IceGrid/NodeSessionManager.cpp
index 69485d3cdee..87b9ae17eac 100644
--- a/cpp/src/IceGrid/NodeSessionManager.cpp
+++ b/cpp/src/IceGrid/NodeSessionManager.cpp
@@ -186,7 +186,6 @@ NodeSessionKeepAliveThread::keepAlive(const NodeSessionPrx& session)
catch(const Ice::LocalException& ex)
{
_node->removeObserver(session);
-
if(_node->getTraceLevels() && _node->getTraceLevels()->replica > 0)
{
Ice::Trace out(_node->getTraceLevels()->logger, _node->getTraceLevels()->replicaCat);