From: joncruz Date: Wed, 12 Dec 2007 08:13:13 +0000 (+0000) Subject: Warning cleanup X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2588b6d8fedef60869a774d83bc7582e8caba7a1;p=inkscape.git Warning cleanup --- diff --git a/src/print.cpp b/src/print.cpp index 9fc1285a5..0dfb8ab5a 100644 --- a/src/print.cpp +++ b/src/print.cpp @@ -123,7 +123,7 @@ sp_print_preview_document(SPDocument *doc) } void -sp_print_document(SPDocument *doc, unsigned int direct) +sp_print_document(SPDocument *doc, unsigned int /*direct*/) { sp_document_ensure_up_to_date(doc); @@ -136,6 +136,7 @@ sp_print_document(SPDocument *doc, unsigned int direct) // Run print dialog Inkscape::UI::Dialog::Print printop(doc,base); Gtk::PrintOperationResult res = printop.run(Gtk::PRINT_OPERATION_ACTION_PRINT_DIALOG); + (void)res; // TODO handle this // Release arena sp_item_invoke_hide(base, dkey); diff --git a/src/svg/svg-color.cpp b/src/svg/svg-color.cpp index 9f7a5a87c..677c81c1a 100644 --- a/src/svg/svg-color.cpp +++ b/src/svg/svg-color.cpp @@ -486,8 +486,6 @@ bool sp_svg_read_icc_color( gchar const *str, gchar const **end_ptr, SVGICCColor dest->colorProfile += *str; } str++; - gboolean aa = g_ascii_isalpha(*str); - gboolean bb = aa; } while ( g_ascii_isspace(*str) || *str == ',' ) { str++; diff --git a/src/ui/dialog/print.cpp b/src/ui/dialog/print.cpp index 1ca4b46d9..9165167f4 100644 --- a/src/ui/dialog/print.cpp +++ b/src/ui/dialog/print.cpp @@ -32,8 +32,7 @@ namespace UI { namespace Dialog { void -Print::_draw_page (const Glib::RefPtr &context, - int page_nr) +Print::_draw_page (const Glib::RefPtr &context, int /*page_nr*/) { if (_tab.as_bitmap()) { // Render as exported PNG @@ -116,7 +115,7 @@ Print::_create_custom_widget () } void -Print::_custom_widget_apply (Gtk::Widget *widget) +Print::_custom_widget_apply (Gtk::Widget */*widget*/) { g_warning (_("custom widget apply")); }