summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/IceGrid/ObjectCache.cpp5
-rw-r--r--cpp/src/IceGrid/RegistryI.cpp2
-rw-r--r--cpp/src/IceGrid/SessionI.cpp2
3 files changed, 6 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/ObjectCache.cpp b/cpp/src/IceGrid/ObjectCache.cpp
index 1a8f5ee0e41..9e28dbd3555 100644
--- a/cpp/src/IceGrid/ObjectCache.cpp
+++ b/cpp/src/IceGrid/ObjectCache.cpp
@@ -95,7 +95,10 @@ ObjectCache::TypeEntry::canTryAllocate(const ObjectEntryPtr& entry)
{
return false;
}
- ++p;
+ else
+ {
+ ++p;
+ }
}
catch(const AllocationException&)
{
diff --git a/cpp/src/IceGrid/RegistryI.cpp b/cpp/src/IceGrid/RegistryI.cpp
index b02e0008c07..a24fbd5117c 100644
--- a/cpp/src/IceGrid/RegistryI.cpp
+++ b/cpp/src/IceGrid/RegistryI.cpp
@@ -86,7 +86,7 @@ public:
}
_session->destroy(current);
}
- catch(const Ice::ObjectNotExistException& ex)
+ catch(const Ice::ObjectNotExistException&)
{
}
catch(const Ice::LocalException& ex)
diff --git a/cpp/src/IceGrid/SessionI.cpp b/cpp/src/IceGrid/SessionI.cpp
index cb36cd1cc1e..b6774252021 100644
--- a/cpp/src/IceGrid/SessionI.cpp
+++ b/cpp/src/IceGrid/SessionI.cpp
@@ -100,7 +100,7 @@ SessionReapable::destroy(bool destroy)
}
_session->destroy(current);
}
- catch(const Ice::ObjectNotExistException& ex)
+ catch(const Ice::ObjectNotExistException&)
{
}
catch(const Ice::LocalException& ex)