X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_fetch_libdbi.c;h=7ca809e34f613193ddc04ae97abaaccdaaf84c42;hp=0e8bc939b32eab0bdc5c4999241fdaebb25be7ba;hb=46a2db0465372eae273b1ff827e465a779339198;hpb=1369d75e006ffa893c7fef0f29b128e618ea1425 diff --git a/src/rrd_fetch_libdbi.c b/src/rrd_fetch_libdbi.c index 0e8bc93..7ca809e 100644 --- a/src/rrd_fetch_libdbi.c +++ b/src/rrd_fetch_libdbi.c @@ -1,4 +1,5 @@ #include "rrd_tool.h" +#include "unused.h" #include #include @@ -365,7 +366,7 @@ static int _inline_unescape (char* string) { int rrd_fetch_fn_libdbi( const char *filename, /* name of the rrd */ - enum cf_en cf_idx __attribute__((unused)), /* consolidation function */ + enum cf_en UNUSED(cf_idx), /* consolidation function */ time_t *start, time_t *end, /* which time frame do you want ? * will be changed to represent reality */