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