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 <[email protected]>
---
 WINGs/wcolorpanel.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/WINGs/wcolorpanel.c b/WINGs/wcolorpanel.c
index 0b3fc15..9cb004e 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;
-- 
2.1.3


-- 
To unsubscribe, send mail to [email protected].

Reply via email to