Initialise last_time before using it for the first time.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 3 Mar 2007 13:29:07 +0000 (13:29 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 3 Mar 2007 13:29:07 +0000 (13:29 +0000)
git-svn-id: http://svn.voria.com/code@262 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/tool/main.cpp

index c37a2b7..ed9cac2 100644 (file)
@@ -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)