{
char *file, file_tmp[PATH_MAX];
char *file_copy, *dir, *dir_tmp[PATH_MAX];
- struct stat st;
char *tok;
int ac = 0;
char *av[128];
#endif
#include "rrd_tool.h"
+#include "unused.h"
/* for basename */
#ifdef HAVE_LIBGEN_H
}
int graph_paint_xy(
- image_desc_t *im, int lazy, int cnt)
+ image_desc_t UNUSED(*im), int UNUSED(lazy), int UNUSED(cnt))
{
- /* to stop compiler warnings for now */
- lazy=cnt=(int)im->gdes_c;
rrd_set_error("XY diagramm not implemented");
return -1;
}
pa->arg_orig=origarg;
/* first split arg into : */
- char last=1;
char c;
int cnt=0;
int poscnt=0;
default:
break;
}
- /* assign last */
- last=c;
/* and step to next one byte */
pos++;
} while (c);
/* define some other stuff based on flags */
int json=0;
if (flags &1) { json=1; }
- int showtime=0;
- if (flags &2) { showtime=1;}
- int enumds=0;
- if (flags &4) { enumds=1;}
+ // int showtime=0; if (flags &2) { showtime=1;} -> unused here
+ // int enumds=0; if (flags &4) { enumds=1;} -> unused here
/* define some values */
time_t now = time(NULL);