From 86c2e6f13b5c77b193762ff7e0628d7957e6bf0b Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 17 Feb 2015 23:06:01 -0800 Subject: Delete unused NULLSTR macro Spotted by clang: xdpyinfo.c:145:9: warning: macro is not used [-Wunused-macros] ^ Signed-off-by: Alan Coopersmith --- xdpyinfo.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/xdpyinfo.c b/xdpyinfo.c index a0e0045..152e32c 100644 --- a/xdpyinfo.c +++ b/xdpyinfo.c @@ -141,9 +141,6 @@ in this Software without prior written authorization from The Open Group. #include #include -/* Turn a NULL pointer string into an empty string */ -#define NULLSTR(x) (((x)!=NULL)?(x):("")) - static char *ProgramName; static Bool queryExtensions = False; -- cgit v1.2.3