summaryrefslogtreecommitdiff
path: root/automation
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:25:30 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:25:30 +0000
commit5c589a779ae82b2a5cb9465d29869a064258626f (patch)
tree37d988c664569b2c58243942c4c9e679617605a7 /automation
parentec307ecb0dc22577435cc32bb381ea7c259c7a2d (diff)
INTEGRATION: CWS warnings01 (1.3.12); FILE MERGED
2006/03/08 15:34:40 gh 1.3.12.1: remove wntmsci warnings
Diffstat (limited to 'automation')
-rw-r--r--automation/source/simplecm/packethandler.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/automation/source/simplecm/packethandler.cxx b/automation/source/simplecm/packethandler.cxx
index c99c69ffb4ac..89ea871484d5 100644
--- a/automation/source/simplecm/packethandler.cxx
+++ b/automation/source/simplecm/packethandler.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: packethandler.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 19:28:48 $
+ * last change: $Author: hr $ $Date: 2006-06-20 00:25:30 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -94,7 +94,7 @@ comm_BOOL PacketHandler::ReceiveData( void* &pData, comm_UINT32 &nLen )
comm_BOOL bForceMultiChannelThisPacket = FALSE;
if ( pReceiver )
{
- comm_UINT32 nBytes;
+ comm_UINT32 nBytes = 0;
nReceiveProtocol = CM_PROTOCOL_OLDSTYLE;
nReceiveHeaderType = CH_NoHeader;
@@ -118,7 +118,7 @@ comm_BOOL PacketHandler::ReceiveData( void* &pData, comm_UINT32 &nLen )
comm_ULONG nHeaderReadSoFar = 0;
// Prüfbyte für Längenangabe
- unsigned char nLenCheck;
+ unsigned char nLenCheck = 0;
READ_SOCKET_LEN( &nLenCheck, 1, nReadSoFar );
// Stimmt das Prüfbyte?
bWasError |= nLenCheck != CalcCheckByte( nBytes );