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/ui | |
| 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/ui')
| -rw-r--r-- | src/ui/clipboard.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp index 94a1a2fad..081fbba64 100644 --- a/src/ui/clipboard.cpp +++ b/src/ui/clipboard.cpp @@ -1020,7 +1020,7 @@ SPDocument *ClipboardManagerImpl::_retrieveClipboard(Glib::ustring required_targ Inkscape::Extension::DB::InputList inlist; Inkscape::Extension::db.get_input_list(inlist); Inkscape::Extension::DB::InputList::const_iterator in = inlist.begin(); - for (; in != inlist.end() && target != (*in)->get_mimetype() ; ++in); + for (; in != inlist.end() && target != (*in)->get_mimetype() ; ++in){}; if ( in == inlist.end() ) return NULL; // this shouldn't happen unless _getBestTarget returns something bogus @@ -1056,7 +1056,7 @@ void ClipboardManagerImpl::_onGet(Gtk::SelectionData &sel, guint /*info*/) Inkscape::Extension::DB::OutputList outlist; Inkscape::Extension::db.get_output_list(outlist); Inkscape::Extension::DB::OutputList::const_iterator out = outlist.begin(); - for ( ; out != outlist.end() && target != (*out)->get_mimetype() ; ++out); + for ( ; out != outlist.end() && target != (*out)->get_mimetype() ; ++out){}; if ( out == outlist.end() && target != "image/png") return; // this also shouldn't happen // FIXME: Temporary hack until we add support for memory output. |
