From 28b71d67a22414330a10275937ef9f6d5ad6bb49 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Fri, 16 Sep 2016 17:04:08 +0100 Subject: Silence some warnings. --- source/svg/svg-run.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/svg') 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); } -- cgit v1.2.3