summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-06-02 16:17:33 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-06-02 16:17:33 +0000
commit465f8044af764183ffd3c5231127c801976e40cc (patch)
tree08c6c6a67e29178ee9202ad9e34cf9550a4ddd21 /cpp/src
parentBug fixes (diff)
downloadice-465f8044af764183ffd3c5231127c801976e40cc.tar.bz2
ice-465f8044af764183ffd3c5231127c801976e40cc.tar.xz
ice-465f8044af764183ffd3c5231127c801976e40cc.zip
Win32 fixes
Diffstat (limited to 'cpp/src')
-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?
}