diff options
Diffstat (limited to 'automation/source')
-rw-r--r-- | automation/source/simplecm/packethandler.cxx | 8 |
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; // Prfbyte fr Lngenangabe - unsigned char nLenCheck; + unsigned char nLenCheck = 0; READ_SOCKET_LEN( &nLenCheck, 1, nReadSoFar ); // Stimmt das Prfbyte? bWasError |= nLenCheck != CalcCheckByte( nBytes ); |