From: dooglus Date: Fri, 25 Jan 2008 18:11:51 +0000 (+0000) Subject: Avoid warnings from g++ 4.3. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=f3aafc647c21fa0713a641ed78f38a9cefb2d6d1;p=synfig.git Avoid warnings from g++ 4.3. git-svn-id: http://svn.voria.com/code@1492 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp b/synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp index f56de42..4f5278f 100644 --- a/synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp +++ b/synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp @@ -423,7 +423,8 @@ LayerParamTreeStore::rebuild() if(value!=((*iter2)->get_param(iter->get_name()))) { row[model.is_inconsistent] = true; - while(!row.children().empty() && erase(row.children().begin())); + while(!row.children().empty() && erase(row.children().begin())) + ; break; } } @@ -494,7 +495,8 @@ LayerParamTreeStore::refresh_row(Gtk::TreeModel::Row &row) if(value!=((*iter2)->get_param(param_desc.get_name()))) { row[model.is_inconsistent] = true; - while(!row.children().empty() && erase(row.children().begin())); + while(!row.children().empty() && erase(row.children().begin())) + ; return; } } @@ -512,7 +514,8 @@ void LayerParamTreeStore::set_row(Gtk::TreeRow row,synfigapp::ValueDesc value_desc) { Gtk::TreeModel::Children children = row.children(); - while(!children.empty() && erase(children.begin())); + while(!children.empty() && erase(children.begin())) + ; CanvasTreeStore::set_row(row,value_desc); }