diff options
| author | Felipe Corr??a da Silva Sanches <juca@members.fsf.org> | 2009-02-08 23:54:32 +0000 |
|---|---|---|
| committer | JucaBlues <JucaBlues@users.sourceforge.net> | 2009-02-08 23:54:32 +0000 |
| commit | bbac3773a111069893e6522cce0ee316d5801bcf (patch) | |
| tree | 5dfd373c1c713136533647bfeb5066a654c25113 /src/sp-clippath.cpp | |
| parent | scale x-axis-rotation angle in elliptical arc (diff) | |
| download | inkscape-bbac3773a111069893e6522cce0ee316d5801bcf.tar.gz inkscape-bbac3773a111069893e6522cce0ee316d5801bcf.zip | |
gcc warning cleanup:
warning: suggest a space before ‘;’ or explicit braces around empty body
in 'for'/'while' statement
(bzr r7251)
Diffstat (limited to 'src/sp-clippath.cpp')
| -rw-r--r-- | src/sp-clippath.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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)){}; } } |
