mirror of
https://github.com/simh/simh.git
synced 2026-01-25 19:56:25 +00:00
I1401, I1620, I7094, S3: Silence GCC optimizer warnings about unused function results
This commit is contained in:
@@ -304,7 +304,7 @@ if (mod) {
|
||||
rbuf[i] = fgetc(cdr_unit.fileref); /* Read EBCDIC */
|
||||
}
|
||||
} else {
|
||||
fgets (rbuf, CBUFSIZE, cdr_unit.fileref); /* read Ascii */
|
||||
if (fgets (rbuf, CBUFSIZE, cdr_unit.fileref)) {}; /* read Ascii */
|
||||
}
|
||||
if (feof (cdr_unit.fileref)) { /* eof? */
|
||||
notready = 1;
|
||||
|
||||
Reference in New Issue
Block a user