[Libreoffice-commits] core.git: sal/textenc

Stephan Bergmann sbergman at redhat.com
Wed Apr 8 06:48:01 PDT 2015


 sal/textenc/tcvtmb.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit c4dca26eafd60dc4c4f19e0be0b8e086108b3048
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Apr 8 15:47:19 2015 +0200

    -Werror=maybe-uninitialized
    
    Change-Id: I7d3c36e564b3a5286ebd32527575472313119587

diff --git a/sal/textenc/tcvtmb.cxx b/sal/textenc/tcvtmb.cxx
index 6d0534b..75e5b7f 100644
--- a/sal/textenc/tcvtmb.cxx
+++ b/sal/textenc/tcvtmb.cxx
@@ -92,6 +92,7 @@ sal_Size ImplDBCSToUnicode( const void* pData, SAL_UNUSED_PARAMETER void*,
                     *pInfo |= RTL_TEXTTOUNICODE_INFO_ERROR | RTL_TEXTTOUNICODE_INFO_SRCBUFFERTOSMALL;
                     break;
                 }
+                cConv = 0;
             }
             else
             {


More information about the Libreoffice-commits mailing list