From: dooglus Date: Sat, 3 Mar 2007 13:29:07 +0000 (+0000) Subject: Initialise last_time before using it for the first time. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=4c238d3647b83af8b18c0dc0dfe5eac5986cda2b;p=synfig.git Initialise last_time before using it for the first time. git-svn-id: http://svn.voria.com/code@262 1f10aa63-cdf2-0310-b900-c93c546f37ac --- 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)