Remove compiler warnings

This commit is contained in:
Holger Vogt 2021-04-10 20:21:35 +02:00
parent 271b01173c
commit 98219b58a2
1 changed files with 6 additions and 7 deletions

View File

@ -53,14 +53,13 @@ static struct {
#define SVGfont_family (Cfg.strings[SVG_FONT_FAMILY]) #define SVGfont_family (Cfg.strings[SVG_FONT_FAMILY])
#define SVGfont (Cfg.strings[SVG_FONT]) #define SVGfont (Cfg.strings[SVG_FONT])
static char * const intopts[] = { /* svg_intopts are:
"svgwidth", "svgheight", "svgfont-size", "svgfont-width", "svguse-color", "svgwidth", "svgheight", "svgfont-size", "svgfont-width", "svguse-color",
"svgstroke-width", "svggrid-width", "svgstroke-width", "svggrid-width"
};
static char * const stropts[] = { svg_stropts are:
"svgbackground", "svgfont-family", "svgfont", "svgbackground", "svgfont-family", "svgfont"
}; */
typedef struct { typedef struct {
int lastx, lasty; int lastx, lasty;
@ -324,7 +323,7 @@ SVG_Close(void)
* without having reached SVG_NewViewport * without having reached SVG_NewViewport
*/ */
int i; size_t i;
if (plotfile) { if (plotfile) {
closepath(DEVDEP_P(currentgraph)); closepath(DEVDEP_P(currentgraph));