fix warning about not checking output.
This commit is contained in:
parent
8d5c490ff7
commit
31314c8059
@ -678,7 +678,9 @@ Yap_DebugGetc()
|
||||
curfile = NULL;
|
||||
}
|
||||
if (curfile == NULL)
|
||||
(void)YP_fgets(my_line, 200, stdin);
|
||||
if (YP_fgets(my_line, 200, stdin) == NULL) {
|
||||
return EOF;
|
||||
}
|
||||
eolflg = 0;
|
||||
lp = my_line;
|
||||
}
|
||||
|
Reference in New Issue
Block a user