summaryrefslogtreecommitdiffstats
path: root/src/2geom/ellipse.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2015-07-06 23:29:26 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2015-07-06 23:29:26 +0000
commit02aedb930177c008f1074fa7b17dd6085825ee1b (patch)
treee0ffd32ca363f863c7b4dd5c07f422100d0ad2c1 /src/2geom/ellipse.cpp
parentExtensions. Fix for Bug #760429 (Scour extension files organization). (diff)
downloadinkscape-02aedb930177c008f1074fa7b17dd6085825ee1b.tar.gz
inkscape-02aedb930177c008f1074fa7b17dd6085825ee1b.zip
Update 2Geom to r2417: make scan-build happy
(bzr r14235)
Diffstat (limited to 'src/2geom/ellipse.cpp')
-rw-r--r--src/2geom/ellipse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/2geom/ellipse.cpp b/src/2geom/ellipse.cpp
index 0264ab4ae..fed3bf86f 100644
--- a/src/2geom/ellipse.cpp
+++ b/src/2geom/ellipse.cpp
@@ -499,7 +499,7 @@ std::vector<ShapeIntersection> Ellipse::intersect(Ellipse const &other) const
Line lines[2];
if (aa != 0) {
- bb /= aa; cc /= aa; dd /= aa; ee /= aa; ff /= aa;
+ bb /= aa; cc /= aa; dd /= aa; ee /= aa; /*ff /= aa;*/
Coord s = (ee + std::sqrt(ee*ee - 4*bb)) / 2;
Coord q = ee - s;
Coord alpha = (dd - cc*q) / (s - q);
@@ -508,7 +508,7 @@ std::vector<ShapeIntersection> Ellipse::intersect(Ellipse const &other) const
lines[0] = Line(1, q, alpha);
lines[1] = Line(1, s, beta);
} else if (bb != 0) {
- cc /= bb; dd /= bb; ee /= bb; ff /= bb;
+ cc /= bb; /*dd /= bb;*/ ee /= bb; ff /= bb;
Coord s = ee;
Coord q = 0;
Coord alpha = cc / ee;