summaryrefslogtreecommitdiffstats
path: root/src/livarot/ShapeRaster.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2014-01-08 20:29:39 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2014-01-08 20:29:39 +0000
commitaca448b6fe669666c3528ea1834b4b552dd3f22f (patch)
treedad94338cef1c43a224680336bf92016ddfae14f /src/livarot/ShapeRaster.cpp
parentglyph drawing: improve code (diff)
downloadinkscape-aca448b6fe669666c3528ea1834b4b552dd3f22f.tar.gz
inkscape-aca448b6fe669666c3528ea1834b4b552dd3f22f.zip
fix "set but ununused" warning
(bzr r12890)
Diffstat (limited to 'src/livarot/ShapeRaster.cpp')
-rw-r--r--src/livarot/ShapeRaster.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/livarot/ShapeRaster.cpp b/src/livarot/ShapeRaster.cpp
index 4c5bdc1ac..2b35c9666 100644
--- a/src/livarot/ShapeRaster.cpp
+++ b/src/livarot/ShapeRaster.cpp
@@ -1241,8 +1241,8 @@ void Shape::QuickScan(float &pos, int &curP, float to, FloatLigne* line, float s
if ( nbQRas > 1 ) {
int curW = 0;
- float lastX = 0;
- float lastY = 0;
+ // float lastX = 0;
+ // float lastY = 0;
int lastGuess = -1;
int lastB = -1;
@@ -1270,8 +1270,8 @@ void Shape::QuickScan(float &pos, int &curP, float to, FloatLigne* line, float s
} else if ( curW%2 != 0 && oW%2 == 0 ) {
- lastX = swrData[cb].curX;
- lastY = swrData[cb].curY;
+ // lastX = swrData[cb].curX;
+ // lastY = swrData[cb].curY;
lastB = cb;
swrData[cb].guess = -1;