1
0
mirror of https://github.com/simh/simh.git synced 2026-04-25 03:34:34 +00:00

Compiler suggested cleanups

This commit is contained in:
Mark Pizzolato
2013-03-13 22:28:14 -07:00
parent 9bd8305943
commit 28f645aeab
9 changed files with 44 additions and 28 deletions

View File

@@ -1076,7 +1076,8 @@ switch (j) { /* case on class */
for (cptr = get_glyph (cptr, gbuf, 0); gbuf[0] != 0;
cptr = get_glyph (cptr, gbuf, 0)) {
for (i = 0; (opcode[i] != NULL) &&
(strcmp (opcode[i], gbuf) != 0) ; i++) ;
(strcmp (opcode[i], gbuf) != 0) ; i++)
;
if ((((opc_val[i] >> I_V_CL) & I_M_CL) != j) ||
(opcode[i] == NULL))
return SCPE_ARG;