fix warning about not checking output.
This commit is contained in:
@@ -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