From: dooglus Date: Fri, 7 Sep 2007 23:33:19 +0000 (+0000) Subject: Another case of initialising a variable from itself - but this time it's commented... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=c25902b514d64fd65c96ed56171bcd205d19d699;p=synfig.git Another case of initialising a variable from itself - but this time it's commented out. Added a note not to uncomment it. git-svn-id: http://svn.voria.com/code@630 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/keyframetreestore.cpp b/synfig-studio/trunk/src/gtkmm/keyframetreestore.cpp index df40eac..48ee606 100644 --- a/synfig-studio/trunk/src/gtkmm/keyframetreestore.cpp +++ b/synfig-studio/trunk/src/gtkmm/keyframetreestore.cpp @@ -345,6 +345,7 @@ KeyframeTreeStore::set_value_impl(const Gtk::TreeModel::iterator& row, int colum // Bad old delta return; } + // row(row) on the next line is bad - don't use it, because it leaves 'row' uninitialised //Gtk::TreeModel::iterator row(row); //row++; //if(!row)return;