summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/Database.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2007-02-05 19:44:11 +0000
committerBenoit Foucher <benoit@zeroc.com>2007-02-05 19:44:11 +0000
commitf31e80186b526b3aaabd54e96d1267eef3998106 (patch)
tree5ef36cb946bce7c8a9a8478760d0db08399e96fc /cpp/src/IceGrid/Database.cpp
parentUpdated BerkeleyDB LICENSES (diff)
downloadice-f31e80186b526b3aaabd54e96d1267eef3998106.tar.bz2
ice-f31e80186b526b3aaabd54e96d1267eef3998106.tar.xz
ice-f31e80186b526b3aaabd54e96d1267eef3998106.zip
Fixed warning
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 15dafc7bf4d..a218286775a 100644
--- a/cpp/src/IceGrid/Database.cpp
+++ b/cpp/src/IceGrid/Database.cpp
@@ -730,7 +730,7 @@ Database::getAdapterDirectProxy(const string& id)
void
Database::removeAdapter(const string& adapterId)
{
- int serial;
+ int serial = 0; // Initialize to prevent warning.
{
Lock sync(*this);
if(_adapterCache.has(adapterId))