summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ConnectionI.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/Ice/ConnectionI.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/Ice/ConnectionI.cpp')
-rw-r--r--cpp/src/Ice/ConnectionI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/ConnectionI.cpp b/cpp/src/Ice/ConnectionI.cpp
index 381eccd8a9c..01141e72b26 100644
--- a/cpp/src/Ice/ConnectionI.cpp
+++ b/cpp/src/Ice/ConnectionI.cpp
@@ -565,7 +565,7 @@ Ice::ConnectionI::sendAsyncRequest(const OutgoingAsyncPtr& out, bool compress, b
#endif
}
- bool sent;
+ bool sent = false;
try
{
OutgoingMessage message(out, os, compress, response);
@@ -875,7 +875,7 @@ Ice::ConnectionI::flushAsyncBatchRequests(const BatchOutgoingAsyncPtr& outAsync)
//
// Send the batch stream.
//
- bool sent;
+ bool sent = false;
try
{
OutgoingMessage message(outAsync, outAsync->__getOs(), _batchRequestCompress, false);