diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2008-07-04 21:43:41 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2008-07-04 21:43:41 +0000 |
| commit | 5d7f503b40941505c7e781c517f9c7c24a8fb09f (patch) | |
| tree | 5a5c053bb20ebea914d6cc10981d5407a1ffaea2 /src/live_effects | |
| parent | change some SP_CURVE_BPATH to get_bpath (diff) | |
| download | inkscape-5d7f503b40941505c7e781c517f9c7c24a8fb09f.tar.gz inkscape-5d7f503b40941505c7e781c517f9c7c24a8fb09f.zip | |
Warning cleanup
(bzr r6156)
Diffstat (limited to 'src/live_effects')
| -rw-r--r-- | src/live_effects/effect.cpp | 4 | ||||
| -rw-r--r-- | src/live_effects/lpe-mirror_reflect.cpp | 2 | ||||
| -rw-r--r-- | src/live_effects/parameter/point.cpp | 6 | ||||
| -rw-r--r-- | src/live_effects/parameter/pointparam-knotholder.cpp | 3 |
4 files changed, 8 insertions, 7 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 11e5b5048..384873018 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -295,7 +295,7 @@ Effect::writeParamsToSVG() { * your LPE. But don't forget to call the parent method so that done_pathparam_set is set to true! */ void -Effect::acceptParamPath (SPPath *param_path) { +Effect::acceptParamPath (SPPath */*param_path*/) { done_pathparam_set = true; } @@ -460,7 +460,7 @@ Effect::addHelperPaths(SPLPEItem *lpeitem, SPDesktop *desktop) } void -Effect::addHelperPathsImpl(SPLPEItem *lpeitem, SPDesktop *desktop) +Effect::addHelperPathsImpl(SPLPEItem */*lpeitem*/, SPDesktop */*desktop*/) { // if this method is overloaded in derived classes, provides_own_flash_paths will be true provides_own_flash_paths = false; diff --git a/src/live_effects/lpe-mirror_reflect.cpp b/src/live_effects/lpe-mirror_reflect.cpp index a501fbb8f..60e307bdb 100644 --- a/src/live_effects/lpe-mirror_reflect.cpp +++ b/src/live_effects/lpe-mirror_reflect.cpp @@ -83,7 +83,7 @@ LPEMirrorReflect::doEffect_path (std::vector<Geom::Path> const & path_in) m = m * m2.inverse(); m = m * m1; - for (int i = 0; i < path_in.size(); ++i) { + for (int i = 0; i < static_cast<int>(path_in.size()); ++i) { path_out.push_back(path_in[i] * m); } diff --git a/src/live_effects/parameter/point.cpp b/src/live_effects/parameter/point.cpp index 220b618f7..69e2520c2 100644 --- a/src/live_effects/parameter/point.cpp +++ b/src/live_effects/parameter/point.cpp @@ -78,7 +78,7 @@ PointParam::param_getSVGValue() const } Gtk::Widget * -PointParam::param_newWidget(Gtk::Tooltips * tooltips) +PointParam::param_newWidget(Gtk::Tooltips * /*tooltips*/) { Inkscape::UI::Widget::RegisteredTransformedPoint * pointwdg = Gtk::manage( new Inkscape::UI::Widget::RegisteredTransformedPoint( param_label, @@ -153,7 +153,7 @@ PointParam::set_oncanvas_looks(SPKnotShapeType shape, SPKnotModeType mode, guint } void -PointParam::knot_set(NR::Point const &p, NR::Point const &origin, guint state) +PointParam::knot_set(NR::Point const &p, NR::Point const &/*origin*/, guint /*state*/) { param_setValue(p.to_2geom()); sp_lpe_item_update_patheffect(SP_LPE_ITEM(item), false, false); @@ -166,7 +166,7 @@ PointParam::knot_get() } void -PointParam::knot_click(guint state) +PointParam::knot_click(guint /*state*/) { g_print ("This is the handle associated to the parameter '%s'\n", param_key.c_str()); } diff --git a/src/live_effects/parameter/pointparam-knotholder.cpp b/src/live_effects/parameter/pointparam-knotholder.cpp index a8d357415..06e527ffd 100644 --- a/src/live_effects/parameter/pointparam-knotholder.cpp +++ b/src/live_effects/parameter/pointparam-knotholder.cpp @@ -72,12 +72,13 @@ KnotHolderEntityPointParam::knot_get() { } void -KnotHolderEntityPointParam::knot_set(NR::Point const &p, NR::Point const &origin, guint state) { +KnotHolderEntityPointParam::knot_set(NR::Point const &/*p*/, NR::Point const &/*origin*/, guint /*state*/) { } void PointParamKnotHolder::add_knot ( Geom::Point & p, +// TODO: check if knot_click being ignored is bad: PointParamKnotHolderClickedFunc knot_click, SPKnotShapeType shape, SPKnotModeType mode, |
