summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2002-11-26 15:59:22 +0000
committerBenoit Foucher <benoit@zeroc.com>2002-11-26 15:59:22 +0000
commit8dd875d35b1fa1c5c91fab220841bd5d937811c5 (patch)
tree794622e221044e263172da9f0cbe47e56434696f /cpp/src
parentFixed warnings when compiled with optimization. (diff)
downloadice-8dd875d35b1fa1c5c91fab220841bd5d937811c5.tar.bz2
ice-8dd875d35b1fa1c5c91fab220841bd5d937811c5.tar.xz
ice-8dd875d35b1fa1c5c91fab220841bd5d937811c5.zip
Fixed warnings when compiled with optimization
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Glacier/StarterI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Glacier/StarterI.cpp b/cpp/src/Glacier/StarterI.cpp
index 00166a70560..e936c1db932 100644
--- a/cpp/src/Glacier/StarterI.cpp
+++ b/cpp/src/Glacier/StarterI.cpp
@@ -143,7 +143,7 @@ Glacier::StarterI::startRouter(const string& userId, const string& password, Byt
//
string path = _properties->getPropertyWithDefault("Glacier.Starter.RouterPath", "glacierrouter");
string uuid = IceUtil::generateUUID();
- pid_t pid;
+ pid_t pid = -1; // Initialize to keep the compiler happy.
int fds[2];
try