mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-26 20:02:37 +00:00
Fix extra semicolon warnings (#345)
"warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning" [-Wextra-semi-stmt]
occurred 254 times in xc.c when warnings were turned up.
Review this commit with "git diff -w ..." to make it easier to see changes other than indentation caused by
the addition of do { ... } while (0) around many macro definition bodies.
This commit is contained in:
8
src/xc.c
8
src/xc.c
@@ -230,7 +230,7 @@ void dispatch(void) {
|
||||
goto nextopcode;
|
||||
|
||||
/* OPCODE FAIL ENTRY POINTS, CALL UFNS HERE */
|
||||
UFN_CALLS;
|
||||
UFN_CALLS
|
||||
|
||||
op_ufn : {
|
||||
UFN *entry68k;
|
||||
@@ -241,11 +241,11 @@ op_ufn : {
|
||||
fn_defcell = (DefCell *)GetDEFCELL68k(fn_atom_index);
|
||||
fn_apply = 2 + entry68k->byte_num; /* code for UFN entry */
|
||||
goto op_fn_common;
|
||||
};
|
||||
}
|
||||
|
||||
/* FUNCTION CALL TAIL ROUTINE */
|
||||
|
||||
OP_FN_COMMON;
|
||||
OP_FN_COMMON
|
||||
|
||||
/* DISPATCH "LOOP" */
|
||||
|
||||
@@ -930,7 +930,7 @@ nextopcode:
|
||||
TIMES2; /* TIMES2 */
|
||||
case 0327:
|
||||
case327:
|
||||
QUOTIENT /* QUOTIENT */
|
||||
QUOTIENT; /* QUOTIENT */
|
||||
case 0330:
|
||||
case330:
|
||||
IPLUS2; /* IPLUS2 only while PLUS has no float */
|
||||
|
||||
Reference in New Issue
Block a user