1
0
mirror of https://github.com/prirun/p50em.git synced 2026-01-13 15:17:32 +00:00

Eliminate compiler warnings.

This commit is contained in:
Kevin Jordan 2020-05-29 22:46:09 -04:00
parent af1718f699
commit d566f42ea6

View File

@ -534,8 +534,9 @@ int devsmlc (int class, int func, int device) {
#if DEBUG
fprintf(smlclog, "%s SKS '02%02o skip if not interrupting, state is %s\n", smlctimestamp, device, intstates[dc[dx].intstate]);
#endif
if (dc[dx].intstate == SMLC_INTERRUPTING)
if (dc[dx].intstate == SMLC_INTERRUPTING) {
IOSKIP;
}
} else {
fprintf(stderr, "Unimplemented SKS device '%02o function '%02o\n", device, func);
@ -1136,6 +1137,10 @@ int devsmlc (int class, int func, int device) {
}
}
break;
default:
// nothing to do for other states
break;
}
}