ofz: MemorySanitizer: use-of-uninitialized-value

Change-Id: Ic07027c4bca00df823ac06066b25606a65fe1e4d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121226
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/vcl/source/filter/itiff/ccidecom.cxx b/vcl/source/filter/itiff/ccidecom.cxx
index 407aab1..a1dbd82 100644
--- a/vcl/source/filter/itiff/ccidecom.cxx
+++ b/vcl/source/filter/itiff/ccidecom.cxx
@@ -795,7 +795,7 @@ bool CCIDecompressor::Read2DTag()
{
    // read a bit and return sal_True if it's 0, otherwise return sal_False
    if (nInputBitsBufSize==0) {
        sal_uInt8 nByte;
        sal_uInt8 nByte(0);
        pIStream->ReadUChar( nByte );
        if ( nOptions & CCI_OPTION_INVERSEBITORDER )
            nByte = pByteSwap[ nByte ];
@@ -811,7 +811,7 @@ sal_uInt8 CCIDecompressor::ReadBlackOrWhite()
{
    // read a bit and deliver 0x00 if it's 0, otherwise 0xff
    if (nInputBitsBufSize==0) {
        sal_uInt8 nByte;
        sal_uInt8 nByte(0);
        pIStream->ReadUChar( nByte );
        if ( nOptions & CCI_OPTION_INVERSEBITORDER )
            nByte = pByteSwap[ nByte ];