From 6f75b18959ccc6d90a2237e2d49c2a1740d2b436 Mon Sep 17 00:00:00 2001 From: dooglus Date: Mon, 10 Sep 2007 01:10:13 +0000 Subject: [PATCH] Made a comment about some compiler warnings that I don't yet understand. git-svn-id: http://svn.voria.com/code@647 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp b/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp index 56daa05..93f80b1 100644 --- a/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp +++ b/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp @@ -920,6 +920,15 @@ CellRenderer_TimeTrack::show_timepoint_menu(const etl::handle& nod Gtk::Menu* interp_menu(manage(new Gtk::Menu())); Waypoint::Model model; + // note: each of the following 4 'if' blocks provokes these warnings: + // /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h:57: warning: + // 'model.synfig::Waypoint::Model::temporal_tension' is used uninitialized in this function + // 'model.synfig::Waypoint::Model::bias' is used uninitialized in this function + // 'model.synfig::Waypoint::Model::continuity' is used uninitialized in this function + // 'model.synfig::Waypoint::Model::tension' is used uninitialized in this function + // 'model.synfig::Waypoint::Model::priority' is used uninitialized in this function + // I don't know if that matters or not. + if(side==SIDE_LEFT)model.set_before(INTERPOLATION_TCB); else model.set_after(INTERPOLATION_TCB); interp_menu->items().push_back(Gtk::Menu_Helpers::MenuElem(_("TCB"), -- 2.7.4