From 48acb109296c55c8df7d3bf85bc5b003cda55ff3 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sat, 10 Apr 2021 20:21:35 +0200 Subject: [PATCH] Remove compiler warnings --- src/frontend/svg.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/frontend/svg.c b/src/frontend/svg.c index 5f01481f5..2874e83d6 100644 --- a/src/frontend/svg.c +++ b/src/frontend/svg.c @@ -53,14 +53,13 @@ static struct { #define SVGfont_family (Cfg.strings[SVG_FONT_FAMILY]) #define SVGfont (Cfg.strings[SVG_FONT]) -static char * const intopts[] = { +/* svg_intopts are: "svgwidth", "svgheight", "svgfont-size", "svgfont-width", "svguse-color", - "svgstroke-width", "svggrid-width", -}; + "svgstroke-width", "svggrid-width" -static char * const stropts[] = { - "svgbackground", "svgfont-family", "svgfont", -}; + svg_stropts are: + "svgbackground", "svgfont-family", "svgfont" +*/ typedef struct { int lastx, lasty; @@ -324,7 +323,7 @@ SVG_Close(void) * without having reached SVG_NewViewport */ - int i; + size_t i; if (plotfile) { closepath(DEVDEP_P(currentgraph));