summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2008-06-11 04:08:16 +0000
committerjoncruz <joncruz@users.sourceforge.net>2008-06-11 04:08:16 +0000
commit1d84a1357592e1e0f9af7a4e4105d67c4c2ee967 (patch)
treefbf9061f821ae3b5c9d1dface30a792830062417
parent[INTL] Updated POTFILES.in with new source code file. (diff)
downloadinkscape-1d84a1357592e1e0f9af7a4e4105d67c4c2ee967.tar.gz
inkscape-1d84a1357592e1e0f9af7a4e4105d67c4c2ee967.zip
warning cleanup
(bzr r5877)
-rw-r--r--src/knot-holder-entity.cpp4
-rw-r--r--src/libavoid/debug.h2
-rw-r--r--src/live_effects/lpe-perp_bisector.cpp2
-rw-r--r--src/live_effects/lpe-tangent_to_curve.cpp6
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);