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

Tor Lillqvist tml at collabora.com
Mon Dec 1 21:46:08 PST 2014


 sw/source/core/frmedt/fews.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 42a3e02f1aad1cd0f35098637b6c548e703edc70
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue Dec 2 07:45:24 2014 +0200

    WaE: variable 'bRet' is used uninitialized whenever 'if' condition is true
    
    Change-Id: Iba1566931c551dd9d3f0eed7b3192379ed8990c7

diff --git a/sw/source/core/frmedt/fews.cxx b/sw/source/core/frmedt/fews.cxx
index 3274757..16aa9bd 100644
--- a/sw/source/core/frmedt/fews.cxx
+++ b/sw/source/core/frmedt/fews.cxx
@@ -478,7 +478,7 @@ bool SwFEShell::Sort(const SwSortOptions& rOpt)
         return false;
 
     SET_CURR_SHELL( this );
-    bool bRet;
+    bool bRet = false;
     StartAllAction();
     if(IsTableMode())
     {


More information about the Libreoffice-commits mailing list