From 32fa930f021e0b026916cf3d253c747b2cfa65e9 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Fri, 15 Mar 2002 13:40:21 +0000 Subject: [PATCH] Eliminated unused variable warning in non-Unix build. --- src/uifc/uifcx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/uifc/uifcx.c b/src/uifc/uifcx.c index f9785ebe47..2a58e3f4d4 100644 --- a/src/uifc/uifcx.c +++ b/src/uifc/uifcx.c @@ -110,9 +110,11 @@ static int getstr(char* str, int maxlen) { char ch; int len=0; +#ifdef __unix__ int istty; istty=isatty(fileno(stdin)); +#endif while(1) { fread(&ch,1,1,stdin); #ifdef __unix__ -- GitLab