Initialise last_time before using it for the first time.
[synfig.git] / 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)