summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-11-25 23:22:51 +0200
committerTor Lillqvist <tml@collabora.com>2014-11-25 23:22:51 +0200
commit6b219f012edbe069c461f4e0746898e33fa1dd49 (patch)
treee42dc55114b05ab6a3eb8c84eb22172e5753c85d
parentb1c7f076cfb944c320892ac58600fd96c252f53e (diff)
WaE: C4701: potentially uninitialized local variable 'mnStartTime' used
Change-Id: I210760099eb630c1306630e49bf84a2f3bf7a3b6
-rw-r--r--vcl/workben/vcldemo.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index 282e61c73d89..10a87c2af557 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;