Browse Source

prevent warnings

pre-master-46
dwarning 18 years ago
parent
commit
5b58cb39e5
  1. 2
      src/frontend/com_ghelp.c

2
src/frontend/com_ghelp.c

@ -19,7 +19,9 @@ com_ghelp(wordlist *wl)
char *npath; char *npath;
char *path = Help_Path; char *path = Help_Path;
char buf[BSIZE_SP]; char buf[BSIZE_SP];
#ifndef X_DISPLAY_MISSING
int i; int i;
#endif /* X_DISPLAY_MISSING 1 */
if (cp_getvar("helppath", VT_STRING, buf)) if (cp_getvar("helppath", VT_STRING, buf))
path = copy(buf); path = copy(buf);

Loading…
Cancel
Save