diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2013-03-16 17:17:57 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2013-03-16 17:17:57 +0000 |
| commit | 27732efd761b727c736829b13492ef33fc41199d (patch) | |
| tree | ad9596dfa3d8536a11521b331e6c319dda92fd3b /src/marker.cpp | |
| parent | Fix naming of configuration options and help string formatting (diff) | |
| download | inkscape-27732efd761b727c736829b13492ef33fc41199d.tar.gz inkscape-27732efd761b727c736829b13492ef33fc41199d.zip | |
fix/suppress build warnings
(bzr r12215)
Diffstat (limited to 'src/marker.cpp')
| -rw-r--r-- | src/marker.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/marker.cpp b/src/marker.cpp index ba5cd4b05..9717160ed 100644 --- a/src/marker.cpp +++ b/src/marker.cpp @@ -324,13 +324,13 @@ static void sp_marker_update(SPObject *object, SPCtx *ctx, guint flags) // Now set up viewbox transformation // Determine actual viewbox in viewport coordinates - double x = 0; - double y = 0; + // double x = 0; + // double y = 0; double width = 0; double height = 0; if (marker->aspect_align == SP_ASPECT_NONE) { - x = 0.0; - y = 0.0; + // x = 0.0; + // y = 0.0; width = rctx.viewport.width(); height = rctx.viewport.height(); } else { @@ -343,7 +343,7 @@ static void sp_marker_update(SPObject *object, SPCtx *ctx, guint flags) height = (vb.height()) * scale; // Now place viewbox to requested position - switch (marker->aspect_align) { + /*switch (marker->aspect_align) { case SP_ASPECT_XMIN_YMIN: x = 0.0; y = 0.0; @@ -384,7 +384,7 @@ static void sp_marker_update(SPObject *object, SPCtx *ctx, guint flags) x = 0.0; y = 0.0; break; - } + }*/ } // TODO fixme: all that work is done to figure out x and y, which are just ignored. Check why. |
