[Libreoffice-commits] core.git: cppu/source

Caolán McNamara caolanm at redhat.com
Thu Jan 8 01:24:02 PST 2015


 cppu/source/uno/lbmap.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d5c3a25aaec6136dda35e7d9904d9aaa2c015ed9
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jan 8 09:23:12 2015 +0000

    valgrind: uninitialized variable
    
    Change-Id: I1e166c7e3b58ed565aaf478fa0b6505d1f68b604

diff --git a/cppu/source/uno/lbmap.cxx b/cppu/source/uno/lbmap.cxx
index 0313022..454653b 100644
--- a/cppu/source/uno/lbmap.cxx
+++ b/cppu/source/uno/lbmap.cxx
@@ -407,7 +407,7 @@ static Mapping loadExternalMapping(
 #else
         // find proper lib
         osl::Module aModule;
-        bool bModule;
+        bool bModule(false);
         OUString aName;
 
         if ( EnvDcp::getTypeName(rFrom.getTypeName()) == UNO_LB_UNO )


More information about the Libreoffice-commits mailing list