From 5b58cb39e5a562d49a8bd2de9b36d64d346c9f87 Mon Sep 17 00:00:00 2001 From: dwarning Date: Wed, 19 Nov 2008 19:46:08 +0000 Subject: [PATCH] prevent warnings --- src/frontend/com_ghelp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend/com_ghelp.c b/src/frontend/com_ghelp.c index cacd7d025..2a76e0a34 100644 --- a/src/frontend/com_ghelp.c +++ b/src/frontend/com_ghelp.c @@ -19,7 +19,9 @@ com_ghelp(wordlist *wl) char *npath; char *path = Help_Path; char buf[BSIZE_SP]; +#ifndef X_DISPLAY_MISSING int i; +#endif /* X_DISPLAY_MISSING 1 */ if (cp_getvar("helppath", VT_STRING, buf)) path = copy(buf);