diff options
Diffstat (limited to 'source/svg/svg-run.c')
-rw-r--r-- | source/svg/svg-run.c | 4 |
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); } |