Skip to content
Snippets Groups Projects
Commit 32fa930f authored by rswindell's avatar rswindell
Browse files

Eliminated unused variable warning in non-Unix build.

parent c76e7149
Branches
Tags
No related merge requests found
......@@ -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__
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment