[Libreoffice-commits] core.git: vcl/workben

Tor Lillqvist tml at collabora.com
Tue Nov 25 13:25:13 PST 2014


 vcl/workben/vcldemo.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6b219f012edbe069c461f4e0746898e33fa1dd49
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue Nov 25 23:22:51 2014 +0200

    WaE: C4701: potentially uninitialized local variable 'mnStartTime' used
    
    Change-Id: I210760099eb630c1306630e49bf84a2f3bf7a3b6

diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index 282e61c..10a87c2 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -912,7 +912,7 @@ public:
     void drawToDevice(OutputDevice &rDev, Size aSize, bool bVDev)
     {
         RenderContext aCtx;
-        double mnStartTime;
+        double mnStartTime(0);
         aCtx.mbVDev = bVDev;
         aCtx.mpDemoRenderer = this;
         aCtx.maSize = aSize;


More information about the Libreoffice-commits mailing list