[Libreoffice-commits] .: binfilter/bf_sw

Caolán McNamara caolan at kemper.freedesktop.org
Sun Dec 5 04:12:44 PST 2010


 binfilter/bf_sw/source/core/swg/sw_swgstr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 504476acd0a8c953a18f8ef861ea87018e811d24
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Dec 5 12:12:39 2010 +0000

    cppcheck: uninit variable

diff --git a/binfilter/bf_sw/source/core/swg/sw_swgstr.cxx b/binfilter/bf_sw/source/core/swg/sw_swgstr.cxx
index bd3fcee..f836f82 100644
--- a/binfilter/bf_sw/source/core/swg/sw_swgstr.cxx
+++ b/binfilter/bf_sw/source/core/swg/sw_swgstr.cxx
@@ -217,7 +217,7 @@ BYTE swistream::next()
     long pos = pStrm->Tell();
     short n = nLong; nLong = 3;
     cType = get();
-    long val;
+    long val(0);
     swstreambase::operator>>( val );
     // Man achte darauf: Dieser Wert ist immer positiv,
     // es findet keine VZ-Erweiterung statt!


More information about the Libreoffice-commits mailing list