From 3b13ae971e1f64060ff6afd3156f9208f0b6a0e5 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Mon, 3 Aug 2009 13:34:47 -0600 Subject: [PATCH] Do the UNUSED() thing another way. --- src/conky.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conky.h b/src/conky.h index b6bbfe9..9a1d4e1 100644 --- 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_ */ -- 1.7.9.5