This is an automated email from the ASF dual-hosted git repository.

jim pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO42X by this push:
     new f4cb3a4  silence uninitialized warning
f4cb3a4 is described below

commit f4cb3a436aec3679c54f9569ae436eb162fcfac8
Author: Jim Jagielski <jim...@gmail.com>
AuthorDate: Fri Dec 4 09:28:45 2020 -0500

    silence uninitialized warning
---
 main/automation/source/simplecm/packethandler.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/automation/source/simplecm/packethandler.cxx 
b/main/automation/source/simplecm/packethandler.cxx
index 6de9dd5..ab0a335 100644
--- a/main/automation/source/simplecm/packethandler.cxx
+++ b/main/automation/source/simplecm/packethandler.cxx
@@ -115,7 +115,7 @@ comm_BOOL PacketHandler::ReceiveData( void* &pData, 
comm_UINT32 &nLen )
                        bWasError |= nLenCheck != CalcCheckByte( nBytes );
 
 
-                       comm_UINT16 nHeaderBytes;
+                       comm_UINT16 nHeaderBytes = 0;
                        READ_SOCKET_LEN( &nHeaderBytes, 2, nReadSoFar );
                        nHeaderBytes = NETWORD( nHeaderBytes );
                        // reicht der Header �ber das Ende hinaus?

Reply via email to