1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-04-17 00:35:52 +00:00

ICL1900: Clean up compiler warning.

This commit is contained in:
Richard Cornwell
2020-03-06 21:15:12 -05:00
parent da945f0473
commit 3b23b0af5d

View File

@@ -275,7 +275,8 @@ sim_load(FILE * fileref, CONST char *cptr, CONST char *fnam, int flag)
return SCPE_OK;
} else if (match_ext(fnam, "card")) {
fgets(buffer, 100, fileref);
if (fgets(buffer, 100, fileref) == NULL)
return SCPE_OK;
addr = 020;
while (fgets(buffer, 100, fileref)) {