1
0
mirror of https://github.com/open-simh/simh.git synced 2026-05-03 06:39:03 +00:00

SAGE, PDQ-3: Silence GCC optimizer warnings about unused function results

This commit is contained in:
Mark Pizzolato
2020-01-04 08:42:15 -08:00
parent 787edb211c
commit bcdabeb9fe
3 changed files with 4 additions and 4 deletions

View File

@@ -67,7 +67,7 @@ static void dbg_opdbginit() {
for (i=DEBUG_MINOPCODE; i<DEBUG_MAXOPCODE; i++)
opdebug[i-DEBUG_MINOPCODE] = DEBUG_PRE|DEBUG_POST;
while (!feof(fd)) {
fgets(line,100,fd);
if (fgets(line,100,fd)) {};
sscanf(line,"%x %d", &i, &f);
ASSURE(i >= DEBUG_MINOPCODE && i < DEBUG_MAXOPCODE);
opdebug[i-DEBUG_MINOPCODE] = f;