[Libreoffice-commits] .: registry/tools

Stephan Bergmann sbergman at redhat.com
Thu Jan 31 10:31:16 PST 2013


 registry/tools/reg2bin.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d7ba20b2fee50481b7091aef6c14986e7a0dee57
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Jan 31 19:30:54 2013 +0100

    warning C4701: potentially uninitialized local variable
    
    Change-Id: I68f43b16f09e606b9e7ae384c76554a6763afa8d

diff --git a/registry/tools/reg2bin.cxx b/registry/tools/reg2bin.cxx
index d7f32e2..959f25d 100644
--- a/registry/tools/reg2bin.cxx
+++ b/registry/tools/reg2bin.cxx
@@ -1117,7 +1117,7 @@ sal_uInt64 writeMap(
                          j->parameters.begin());
                      k != j->parameters.end(); ++k)
                 {
-                    sal_uInt64 f;
+                    sal_uInt64 f = sal_uInt64();
                     switch (k->mode) {
                     case RT_PARAM_IN:
                         f = 0;


More information about the Libreoffice-commits mailing list