From: dooglus Date: Sat, 2 Feb 2008 20:45:22 +0000 (+0000) Subject: Prevent a warning from the compiler. These variables are guarded by the *_flag varia... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=7bc6be579d49f23c82dc8950a05f8c780964201e;p=synfig.git Prevent a warning from the compiler. These variables are guarded by the *_flag variables, so they're not really being used uninitialised. git-svn-id: http://svn.voria.com/code@1556 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/synfig/waypoint.h b/synfig-core/trunk/src/synfig/waypoint.h index 8d156a8..3536839 100644 --- a/synfig-core/trunk/src/synfig/waypoint.h +++ b/synfig-core/trunk/src/synfig/waypoint.h @@ -77,6 +77,10 @@ public: 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_flag(false), before_flag(false), after_flag(false),