Revision: 2158
          http://synfig.svn.sourceforge.net/synfig/?rev=2158&view=rev
Author:   pabs3
Date:     2008-11-06 05:25:34 +0000 (Thu, 06 Nov 2008)

Log Message:
-----------
Initialise a couple of values before using them.

Modified Paths:
--------------
    synfig-core/trunk/src/synfig/time.cpp

Modified: synfig-core/trunk/src/synfig/time.cpp
===================================================================
--- synfig-core/trunk/src/synfig/time.cpp       2008-11-06 04:55:12 UTC (rev 
2157)
+++ synfig-core/trunk/src/synfig/time.cpp       2008-11-06 05:25:34 UTC (rev 
2158)
@@ -184,7 +184,7 @@
        if(ceil(time.value_)-time.value_<epsilon_())
                time.value_=ceil(time.value_);
 
-       int hour,minute;
+       int hour = 0, minute = 0;
        if(!(format<=FORMAT_FRAMES))
        {
                hour=time/3600;time-=hour*3600;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to