projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
581f595
)
Do the UNUSED() thing another way.
author
Brenden Matthews
<brenden@rty.ca>
Mon, 3 Aug 2009 19:34:47 +0000
(13:34 -0600)
committer
Brenden Matthews
<brenden@rty.ca>
Mon, 3 Aug 2009 19:34:47 +0000
(13:34 -0600)
src/conky.h
patch
|
blob
|
history
diff --git
a/src/conky.h
b/src/conky.h
index
b6bbfe9
..
9a1d4e1
100644
(file)
--- a/
src/conky.h
+++ b/
src/conky.h
@@
-386,6
+386,6
@@
void set_update_interval(double interval);
#define NOBATTERY 0
/* to get rid of 'unused variable' warnings */
-#define UNUSED(a) if (a) {}
+#define UNUSED(a) (void)a
#endif /* _conky_h_ */