sc/source/core/tool/interpr3.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit d39525f1cfef7a01e45adc9ce5e6e8ebba4250c5
Author: Eike Rathke <er...@redhat.com>
Date:   Thu Jan 30 19:27:37 2014 +0100

    init 'fLastPos' [-Werror=maybe-uninitialized], fdo#73146 follow-up
    
    Change-Id: I77d91bbcd600ae209799d2139c3510697e922730

diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx
index 03f6c5b..4a01b07 100644
--- a/sc/source/core/tool/interpr3.cxx
+++ b/sc/source/core/tool/interpr3.cxx
@@ -3849,7 +3849,8 @@ void ScInterpreter::ScRank( bool bAverage )
             PushNoValue();
         else
         {
-            double fLastPos, fFirstPos = -1.0;
+            double fLastPos = 0;
+            double fFirstPos = -1.0;
             bool bFinished = false;
             SCSIZE i;
             for ( i = 0; i < nSize && !bFinished && !nGlobalError; i++ )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to