X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Funused.h;h=ecaa4de7649c1b47dae1b300c44d395c093ee3b2;hb=9da3f4059b2daf265ebdd1e080f7ddf0d8e86f85;hp=b5ac8411dfb8ed819360bc65d85616d15e6eaccf;hpb=fefb27848de265750174cab10cfb9aba23d10320;p=rrdtool.git diff --git a/src/unused.h b/src/unused.h index b5ac841..ecaa4de 100644 --- a/src/unused.h +++ b/src/unused.h @@ -1,5 +1,8 @@ -/* define a macro to wrap variables in that would - otherwhise generate UNUSED variable warnings */ +/* define a macro to wrap variables that would + otherwise generate UNUSED variable warnings + Note that GCC's attribute unused only supresses the warning, so + it is perfectly safe to declare something unused although it is not. +*/ #ifdef UNUSED #elif defined(__GNUC__)