From 4c238d3647b83af8b18c0dc0dfe5eac5986cda2b Mon Sep 17 00:00:00 2001 From: dooglus Date: Sat, 3 Mar 2007 13:29:07 +0000 Subject: [PATCH] Initialise last_time before using it for the first time. git-svn-id: http://svn.voria.com/code@262 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/tool/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synfig-core/trunk/src/tool/main.cpp b/synfig-core/trunk/src/tool/main.cpp index c37a2b7..ed9cac2 100644 --- a/synfig-core/trunk/src/tool/main.cpp +++ b/synfig-core/trunk/src/tool/main.cpp @@ -139,7 +139,7 @@ class RenderProgress : public synfig::ProgressCallback float last_time; public: - RenderProgress():clk_scanline(0) { } + RenderProgress():clk_scanline(0), last_time(0) { } virtual bool task(const String &thetask) -- 2.7.4