diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2014-01-08 20:29:39 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2014-01-08 20:29:39 +0000 |
| commit | aca448b6fe669666c3528ea1834b4b552dd3f22f (patch) | |
| tree | dad94338cef1c43a224680336bf92016ddfae14f | |
| parent | glyph drawing: improve code (diff) | |
| download | inkscape-aca448b6fe669666c3528ea1834b4b552dd3f22f.tar.gz inkscape-aca448b6fe669666c3528ea1834b4b552dd3f22f.zip | |
fix "set but ununused" warning
(bzr r12890)
| -rw-r--r-- | src/livarot/ShapeRaster.cpp | 8 |
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; |
