projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rrdcached: Do not put any code in assert(). -- Sebastian Harl
[rrdtool.git]
/
src
/
unused.h
diff --git
a/src/unused.h
b/src/unused.h
index
b5ac841
..
ecaa4de
100644
(file)
--- 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__)
#ifdef UNUSED
#elif defined(__GNUC__)