summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Connection.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2003-04-24 16:43:00 +0000
committerBernard Normier <bernard@zeroc.com>2003-04-24 16:43:00 +0000
commit38799e58ddb78e9ada2c63694bbf54b6746f71bf (patch)
tree40ea71b972895ad06ff92b5631bc4a73bac788f6 /cpp/src/Ice/Connection.cpp
parentoverride Ice.Default.Locator to avoid iceboxadmin error message (diff)
downloadice-38799e58ddb78e9ada2c63694bbf54b6746f71bf.tar.bz2
ice-38799e58ddb78e9ada2c63694bbf54b6746f71bf.tar.xz
ice-38799e58ddb78e9ada2c63694bbf54b6746f71bf.zip
Eliminated numerous warnings from Sun C++ 5.4 builds
Diffstat (limited to 'cpp/src/Ice/Connection.cpp')
-rw-r--r--cpp/src/Ice/Connection.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpp/src/Ice/Connection.cpp b/cpp/src/Ice/Connection.cpp
index e14ecf34294..919f9d5a570 100644
--- a/cpp/src/Ice/Connection.cpp
+++ b/cpp/src/Ice/Connection.cpp
@@ -543,7 +543,6 @@ IceInternal::Connection::sendAsyncRequest(const OutgoingAsyncPtr& out)
//
// No compression, just fill in the message size.
//
- const Byte* p;
Int sz = os->b.size();
p = reinterpret_cast<const Byte*>(&sz);
#ifdef ICE_BIG_ENDIAN
@@ -701,7 +700,6 @@ IceInternal::Connection::flushBatchRequest()
//
// No compression, just fill in the message size.
//
- const Byte* p;
Int sz = _batchStream.b.size();
p = reinterpret_cast<const Byte*>(&sz);