From 3b1c00ad065bfc5d4c2e179f58c25916c8b7c509 Mon Sep 17 00:00:00 2001 From: David Maciejak Date: Sun, 5 Mar 2023 15:24:17 +0800 Subject: [PATCH] WINGs: comment out wtext unused NOTIFY macro The compiler is reporting the warning below wtext.c:171: warning: macro "NOTIFY" is not used [-Wunused-macros] That macro is only used once within that C file, code which is commented out already. --- WINGs/wtext.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/WINGs/wtext.c b/WINGs/wtext.c index ee61411f..61899ed8 100644 --- a/WINGs/wtext.c +++ b/WINGs/wtext.c @@ -166,12 +166,15 @@ typedef struct W_Text { WMArray *xdndDestinationTypes; } Text; +/* not used */ +#if 0 #define NOTIFY(T,C,N,A) {\ WMNotification *notif = WMCreateNotification(N,T,A);\ if ((T)->delegate && (T)->delegate->C)\ (*(T)->delegate->C)((T)->delegate,notif);\ WMPostNotification(notif);\ WMReleaseNotification(notif);} +#endif #define TYPETEXT 0