From 94ac89d540b09841479a30158158a08ecb032a95 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 29 Oct 2022 11:39:28 -0700 Subject: Remove unused macros Reported by clang: xcompmgr.c:159:9: warning: macro is not used [-Wunused-macros] #define TRANS_OPACITY 0.75 ^ xcompmgr.c:166:9: warning: macro is not used [-Wunused-macros] #define SHADOWS 1 ^ xcompmgr.c:167:9: warning: macro is not used [-Wunused-macros] #define SHARP_SHADOW 0 ^ Signed-off-by: Alan Coopersmith --- xcompmgr.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/xcompmgr.c b/xcompmgr.c index 4443779..94ef532 100644 --- a/xcompmgr.c +++ b/xcompmgr.c @@ -156,16 +156,11 @@ static conv *gaussianMap; #define WINDOW_TRANS 1 #define WINDOW_ARGB 2 -#define TRANS_OPACITY 0.75 - #define DEBUG_REPAINT 0 #define DEBUG_EVENTS 0 #define DEBUG_SHAPE 0 #define MONITOR_REPAINT 0 -#define SHADOWS 1 -#define SHARP_SHADOW 0 - typedef enum _compMode { CompSimple, /* looks like a regular X server */ CompServerShadows, /* use window alpha for shadow; sharp, but precise */ -- cgit v1.2.3