From bbac3773a111069893e6522cce0ee316d5801bcf Mon Sep 17 00:00:00 2001 From: Felipe Corr??a da Silva Sanches Date: Sun, 8 Feb 2009 23:54:32 +0000 Subject: gcc warning cleanup: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit warning: suggest a space before ‘;’ or explicit braces around empty body in 'for'/'while' statement (bzr r7251) --- src/sp-clippath.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sp-clippath.cpp') diff --git a/src/sp-clippath.cpp b/src/sp-clippath.cpp index 5ee801230..4bbabc965 100644 --- a/src/sp-clippath.cpp +++ b/src/sp-clippath.cpp @@ -328,7 +328,7 @@ void sp_clippath_get_bbox(SPClipPath *cp, NRRect *bbox, Geom::Matrix const &transform, unsigned const /*flags*/) { SPObject *i; - for (i = sp_object_first_child(SP_OBJECT(cp)); i && !SP_IS_ITEM(i); i = SP_OBJECT_NEXT(i)); + for (i = sp_object_first_child(SP_OBJECT(cp)); i && !SP_IS_ITEM(i); i = SP_OBJECT_NEXT(i)){}; if (!i) return; sp_item_invoke_bbox_full(SP_ITEM(i), bbox, Geom::Matrix(SP_ITEM(i)->transform) * transform, SPItem::GEOMETRIC_BBOX, FALSE); @@ -341,7 +341,7 @@ sp_clippath_get_bbox(SPClipPath *cp, NRRect *bbox, Geom::Matrix const &transform nr_rect_d_union (bbox, bbox, &i_box); } i = SP_OBJECT_NEXT(i); - for (; i && !SP_IS_ITEM(i); i = SP_OBJECT_NEXT(i)); + for (; i && !SP_IS_ITEM(i); i = SP_OBJECT_NEXT(i)){}; } } -- cgit v1.2.3