From 78d61a8da9e941a6f7fb3511215ef18fc0146e27 Mon Sep 17 00:00:00 2001 From: joncruz Date: Wed, 11 Jun 2008 04:08:16 +0000 Subject: [PATCH] warning cleanup --- src/knot-holder-entity.cpp | 4 ++-- src/libavoid/debug.h | 2 +- src/live_effects/lpe-perp_bisector.cpp | 2 +- src/live_effects/lpe-tangent_to_curve.cpp | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/knot-holder-entity.cpp b/src/knot-holder-entity.cpp index 6ee8e1247..1fa721746 100644 --- a/src/knot-holder-entity.cpp +++ b/src/knot-holder-entity.cpp @@ -139,7 +139,7 @@ PatternKnotHolderEntityAngle::knot_get() } void -PatternKnotHolderEntityAngle::knot_set(NR::Point const &p, NR::Point const &origin, guint state) +PatternKnotHolderEntityAngle::knot_set(NR::Point const &p, NR::Point const &/*origin*/, guint state) { int const snaps = prefs_get_int_attribute("options.rotationsnapsperpi", "value", 12); @@ -164,7 +164,7 @@ PatternKnotHolderEntityAngle::knot_set(NR::Point const &p, NR::Point const &orig } void -PatternKnotHolderEntityScale::knot_set(NR::Point const &p, NR::Point const &origin, guint state) +PatternKnotHolderEntityScale::knot_set(NR::Point const &p, NR::Point const &/*origin*/, guint /*state*/) { SPPattern *pat = SP_PATTERN(SP_STYLE_FILL_SERVER(SP_OBJECT(item)->style)); diff --git a/src/libavoid/debug.h b/src/libavoid/debug.h index 1312c5458..20e6f4705 100644 --- a/src/libavoid/debug.h +++ b/src/libavoid/debug.h @@ -42,7 +42,7 @@ inline void db_printf(const char *fmt, ...) va_end(ap); } #else -inline void db_printf(const char *fmt, ...) +inline void db_printf(const char */*fmt*/, ...) { } #endif diff --git a/src/live_effects/lpe-perp_bisector.cpp b/src/live_effects/lpe-perp_bisector.cpp index 7f63c25fa..ada321ef3 100644 --- a/src/live_effects/lpe-perp_bisector.cpp +++ b/src/live_effects/lpe-perp_bisector.cpp @@ -176,7 +176,7 @@ LPEPerpBisector::~LPEPerpBisector() } void -LPEPerpBisector::doOnApply (SPLPEItem *lpeitem) +LPEPerpBisector::doOnApply (SPLPEItem */*lpeitem*/) { /* make the path a straight line */ /** diff --git a/src/live_effects/lpe-tangent_to_curve.cpp b/src/live_effects/lpe-tangent_to_curve.cpp index b46b602c3..9fbe426a5 100644 --- a/src/live_effects/lpe-tangent_to_curve.cpp +++ b/src/live_effects/lpe-tangent_to_curve.cpp @@ -115,7 +115,7 @@ get_effect(SPItem *item) } void -KnotHolderEntityAttachPt::knot_set(NR::Point const &p, NR::Point const &origin, guint state) +KnotHolderEntityAttachPt::knot_set(NR::Point const &p, NR::Point const &/*origin*/, guint /*state*/) { using namespace Geom; @@ -137,7 +137,7 @@ KnotHolderEntityAttachPt::knot_set(NR::Point const &p, NR::Point const &origin, } void -KnotHolderEntityLeftEnd::knot_set(NR::Point const &p, NR::Point const &origin, guint state) +KnotHolderEntityLeftEnd::knot_set(NR::Point const &p, NR::Point const &/*origin*/, guint /*state*/) { LPETangentToCurve *lpe = get_effect(item); @@ -148,7 +148,7 @@ KnotHolderEntityLeftEnd::knot_set(NR::Point const &p, NR::Point const &origin, g } void -KnotHolderEntityRightEnd::knot_set(NR::Point const &p, NR::Point const &origin, guint state) +KnotHolderEntityRightEnd::knot_set(NR::Point const &p, NR::Point const &/*origin*/, guint /*state*/) { LPETangentToCurve *lpe = get_effect(item); -- 2.30.2