summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2015-02-17 23:06:01 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2015-02-17 23:06:01 -0800
commit86c2e6f13b5c77b193762ff7e0628d7957e6bf0b (patch)
treeb73968517ac84e58e3dfb45e6cd245d766189caf
parent5ea2adab785079f7b87a459654696d2fff248a52 (diff)
Delete unused NULLSTR macro
Spotted by clang: xdpyinfo.c:145:9: warning: macro is not used [-Wunused-macros] ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xdpyinfo.c3
1 files changed, 0 insertions, 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 <stdio.h>
#include <stdlib.h>
-/* Turn a NULL pointer string into an empty string */
-#define NULLSTR(x) (((x)!=NULL)?(x):(""))
-
static char *ProgramName;
static Bool queryExtensions = False;