X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Funused.h;h=ecaa4de7649c1b47dae1b300c44d395c093ee3b2;hp=b5ac8411dfb8ed819360bc65d85616d15e6eaccf;hb=818549a636c390fb4a8390a7e2195a52293cd56b;hpb=02ef386b0946ceb31dcedfd88393a0dd5e0e266d 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__)