summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/IceGrid/Allocatable.cpp2
-rw-r--r--cpp/src/IceGrid/Database.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/Allocatable.cpp b/cpp/src/IceGrid/Allocatable.cpp
index 536ec5f7aa5..e6b0e4a420a 100644
--- a/cpp/src/IceGrid/Allocatable.cpp
+++ b/cpp/src/IceGrid/Allocatable.cpp
@@ -193,7 +193,7 @@ Allocatable::tryAllocate(const AllocationRequestPtr& request, bool fromRelease)
{
return allocate(request, true, fromRelease);
}
- catch(const AllocationException& ex)
+ catch(const AllocationException&)
{
return false; // Not allocatable
}
diff --git a/cpp/src/IceGrid/Database.cpp b/cpp/src/IceGrid/Database.cpp
index 7a3f32bd760..4a2be700876 100644
--- a/cpp/src/IceGrid/Database.cpp
+++ b/cpp/src/IceGrid/Database.cpp
@@ -303,7 +303,7 @@ Database::addApplicationDescriptor(AdminSessionI* session, const ApplicationDesc
{
for_each(entries.begin(), entries.end(), IceUtil::voidMemFun(&ServerEntry::sync));
}
- catch(const DeploymentException& ex)
+ catch(const DeploymentException&)
{
// TODO: warning?
}
@@ -1437,7 +1437,7 @@ Database::finishUpdate(ServerEntrySeq& entries,
{
for_each(entries.begin(), entries.end(), IceUtil::voidMemFun(&ServerEntry::sync));
}
- catch(const DeploymentException& ex)
+ catch(const DeploymentException&)
{
// TODO: warning?
}