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:
parent
af1718f699
commit
d566f42ea6
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user