summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/Database.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2008-03-13 15:56:24 +0800
committerMatthew Newhook <matthew@zeroc.com>2008-03-13 15:56:24 +0800
commitca80b1da9e45035947e2f5f87cc257dafffc267a (patch)
tree4950ecce5a080851a7ccdeb64cb54cbe4d5c6cf0 /cpp/src/IceGrid/Database.cpp
parent- Revert prior fix for bug 2752. (diff)
downloadice-ca80b1da9e45035947e2f5f87cc257dafffc267a.tar.bz2
ice-ca80b1da9e45035947e2f5f87cc257dafffc267a.tar.xz
ice-ca80b1da9e45035947e2f5f87cc257dafffc267a.zip
get rid of some optimizer warnings.
Diffstat (limited to 'cpp/src/IceGrid/Database.cpp')
-rw-r--r--cpp/src/IceGrid/Database.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/Database.cpp b/cpp/src/IceGrid/Database.cpp
index f6ec1d0f58c..5e5ff949aef 100644
--- a/cpp/src/IceGrid/Database.cpp
+++ b/cpp/src/IceGrid/Database.cpp
@@ -630,7 +630,7 @@ Database::getAllocatableObject(const Ice::Identity& id) const
void
Database::setAdapterDirectProxy(const string& adapterId, const string& replicaGroupId, const Ice::ObjectPrx& proxy)
{
- int serial;
+ int serial = 0;
{
Lock sync(*this);
if(_adapterCache.has(adapterId))