prevent warnings

This commit is contained in:
dwarning 2008-11-19 19:46:08 +00:00
parent d5786196b6
commit 5b58cb39e5
1 changed files with 2 additions and 0 deletions

View File

@ -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);