From 3bf2978e63b2addb9600bc6c953fe6d4230b29f3 Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Mon, 8 Dec 2014 22:42:31 +0100 Subject: [PATCH] WINGs: remove macro ABS_SHIFT from the wcolorpanel code This macro was define a *very* long time ago, in commit d98f1fa645be332b35e8f8d1c2b7ce8ab1231be0 but was not used at that time, and have never been used anywhere since then. As the macro does not look like a good idea for performance anyway, get rid of it before anyone could get tempted to use it. Signed-off-by: Christophe CURIS --- WINGs/wcolorpanel.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/WINGs/wcolorpanel.c b/WINGs/wcolorpanel.c index 0b3fc159..9cb004e5 100644 --- a/WINGs/wcolorpanel.c +++ b/WINGs/wcolorpanel.c @@ -3525,9 +3525,6 @@ static void convertCPColor(CPColor * color) } } -#define ABS_SHIFT(val, shift) \ - (((shift) > 0) ? (val) >> (shift) : (val) << -(shift)) - static RColor ulongToRColor(WMScreen * scr, unsigned long value) { RColor color;