summaryrefslogtreecommitdiffstats
path: root/src/measure-context.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2011-06-22 10:07:58 +0000
committerJon A. Cruz <jon@joncruz.org>2011-06-22 10:07:58 +0000
commit8640e3a8755e772cc7982a9d6f8a47c6ee0dae00 (patch)
tree2f9cdb1b9e13dc49a810fdfca4eb575610a948cb /src/measure-context.cpp
parentRevision 10333 introduced dependency on gtk version 2.24 which is currently n... (diff)
downloadinkscape-8640e3a8755e772cc7982a9d6f8a47c6ee0dae00.tar.gz
inkscape-8640e3a8755e772cc7982a9d6f8a47c6ee0dae00.zip
Warning cleanup.
(bzr r10339)
Diffstat (limited to 'src/measure-context.cpp')
-rw-r--r--src/measure-context.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/measure-context.cpp b/src/measure-context.cpp
index 741dd5edd..bc766872b 100644
--- a/src/measure-context.cpp
+++ b/src/measure-context.cpp
@@ -135,7 +135,8 @@ bool GeomPointSortPredicate(const Geom::Point& p1, const Geom::Point& p2)
return p1[Geom::Y] < p2[Geom::Y];
}
-void calculate_intersections(SPDesktop *desktop, SPItem* item, Geom::PathVector *lineseg, SPCurve *curve, std::vector<Geom::Point> *intersections){
+void calculate_intersections(SPDesktop * /*desktop*/, SPItem* item, Geom::PathVector *lineseg, SPCurve *curve, std::vector<Geom::Point> *intersections)
+{
curve->transform(item->i2doc_affine());
// Find all intersections of the control-line with this shape