summaryrefslogtreecommitdiff
path: root/source/svg
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-09-16 17:04:08 +0100
committerRobin Watts <robin.watts@artifex.com>2016-09-16 17:29:04 +0100
commit28b71d67a22414330a10275937ef9f6d5ad6bb49 (patch)
tree0696f90b25475593e3bb92e4ddaeeb8174026e92 /source/svg
parent5ab4dc1dece8ae037a045da709860601d9f71fa2 (diff)
downloadmupdf-28b71d67a22414330a10275937ef9f6d5ad6bb49.tar.xz
Silence some warnings.
Diffstat (limited to 'source/svg')
-rw-r--r--source/svg/svg-run.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/svg/svg-run.c b/source/svg/svg-run.c
index 97f9a396..602b0a80 100644
--- a/source/svg/svg-run.c
+++ b/source/svg/svg-run.c
@@ -138,6 +138,8 @@ svg_run_circle(fz_context *ctx, fz_device *dev, svg_document *doc, fz_xml *node,
//fz_arcn(ctx, path, cx, cy, r, 180, 270);
//fz_arcn(ctx, path, cx, cy, r, 270, 360);
//fz_closepath(ctx, path);
+ (void)cx; // avoid compiler warning until this is fixed
+ (void)cy;
svg_draw_path(ctx, dev, doc, path, &local_state);
fz_drop_path(ctx, path);
}
@@ -172,6 +174,8 @@ svg_run_ellipse(fz_context *ctx, fz_device *dev, svg_document *doc, fz_xml *node
path = fz_new_path(ctx);
/* TODO: we need elliptic arcs */
// TODO: arc...
+ (void)cx; // avoid compiler warning until this is fixed
+ (void)cy;
svg_draw_path(ctx, dev, doc, path, &local_state);
fz_drop_path(ctx, path);
}