summaryrefslogtreecommitdiffstats
path: root/src/2geom/path-intersection.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2011-06-29 09:43:07 +0000
committerJon A. Cruz <jon@joncruz.org>2011-06-29 09:43:07 +0000
commita56335650da902734f5d27b9a8d743c60a0e9fd6 (patch)
tree8c729eca038813799c86116caa4e987e55cc8be8 /src/2geom/path-intersection.cpp
parentAs the comment says testing for a float to be equal to zero is not safe, henc... (diff)
downloadinkscape-a56335650da902734f5d27b9a8d743c60a0e9fd6.tar.gz
inkscape-a56335650da902734f5d27b9a8d743c60a0e9fd6.zip
Fixed initialization issue plus a few warnings.
(bzr r10386)
Diffstat (limited to 'src/2geom/path-intersection.cpp')
-rw-r--r--src/2geom/path-intersection.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/2geom/path-intersection.cpp b/src/2geom/path-intersection.cpp
index 58ee6232b..7aa662abb 100644
--- a/src/2geom/path-intersection.cpp
+++ b/src/2geom/path-intersection.cpp
@@ -228,8 +228,6 @@ intersect_polish_f (const gsl_vector * x, void *params,
static void
intersect_polish_root (Curve const &A, double &s,
Curve const &B, double &t) {
- int status;
- size_t iter = 0;
std::vector<Point> as, bs;
as = A.pointAndDerivatives(s, 2);
bs = B.pointAndDerivatives(t, 2);