diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2007-12-12 08:13:13 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2007-12-12 08:13:13 +0000 |
| commit | 1312e85796a7f1e442a1d2abf44414ffef30087f (patch) | |
| tree | 8fd8e682c3bead775739681f5ba90c43d0fd1ac3 /src | |
| parent | Cleaning up tests (diff) | |
| download | inkscape-1312e85796a7f1e442a1d2abf44414ffef30087f.tar.gz inkscape-1312e85796a7f1e442a1d2abf44414ffef30087f.zip | |
Warning cleanup
(bzr r4216)
Diffstat (limited to 'src')
| -rw-r--r-- | src/print.cpp | 3 | ||||
| -rw-r--r-- | src/svg/svg-color.cpp | 2 | ||||
| -rw-r--r-- | src/ui/dialog/print.cpp | 5 |
3 files changed, 4 insertions, 6 deletions
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<Gtk::PrintContext> &context, - int page_nr) +Print::_draw_page (const Glib::RefPtr<Gtk::PrintContext> &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")); } |
