From: jucablues Date: Tue, 19 Feb 2008 15:30:10 +0000 (+0000) Subject: warning cleanup X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b3a5d00a906724b5df1d3455c6d896b614722fc7;p=inkscape.git warning cleanup --- diff --git a/src/ui/dialog/filter-effects-dialog.cpp b/src/ui/dialog/filter-effects-dialog.cpp index 30b6ac4cf..6b7a03457 100644 --- a/src/ui/dialog/filter-effects-dialog.cpp +++ b/src/ui/dialog/filter-effects-dialog.cpp @@ -1570,7 +1570,7 @@ bool FilterEffectsDialog::PrimitiveList::on_expose_signal(GdkEventExpose* e) get_bin_window()->draw_line(darkgc, outline_x, y - 1, outline_x, y + h); std::vector con_poly; - int con_drag_y; + int con_drag_y = 0; bool inside; const SPFilterPrimitive* row_prim = (*row)[_columns.primitive]; const int inputs = input_count(row_prim); @@ -1708,7 +1708,7 @@ const Gtk::TreeIter FilterEffectsDialog::PrimitiveList::find_result(const Gtk::T { SPFilterPrimitive* prim = (*start)[_columns.primitive]; Gtk::TreeIter target = _model->children().end(); - int image; + int image = 0; if(SP_IS_FEMERGE(prim)) { int c = 0; @@ -2305,6 +2305,9 @@ void FilterEffectsDialog::update_primitive_infobox() _infobox_icon.set(g_strdup_printf("%s/feTurbulence-icon.png", INKSCAPE_PIXMAPDIR)); _infobox_desc.set_markup(_("The feTurbulence filter primitive renders Perlin noise. This kind of noise is useful in simulating several nature phenomena like clouds, fire and smoke and in generating complex textures like marble or granite.")); break; + default: + g_assert(false); + break; } }