Seems we need to initialise 'before' and 'after' to keep the compiler happy now,...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 17 Feb 2008 09:07:26 +0000 (09:07 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 17 Feb 2008 09:07:26 +0000 (09:07 +0000)
git-svn-id: http://svn.voria.com/code@1725 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/synfig/waypoint.h

index 9a31f8b..6752434 100644 (file)
@@ -80,7 +80,7 @@ public:
                Model():
                        // we don't need to initialise these 5, but the compiler thinks they're used uninitialised if we don't
                        // and this constructor isn't called often, so it's ok
-                       priority(0), tension(0), continuity(0), bias(0), temporal_tension(0),
+                       priority(0), before(INTERPOLATION_NIL), after(INTERPOLATION_NIL), tension(0), continuity(0), bias(0), temporal_tension(0),
 
                        priority_flag(false),
                        before_flag(false),