1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-25 08:20:03 +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:
Nick Briggs
2021-02-10 20:33:54 -08:00
committed by GitHub
parent 7274e16b24
commit 1fc0d28167
7 changed files with 650 additions and 653 deletions

View File

@@ -431,6 +431,6 @@ typedef struct stackp {
#define STK_END_COMPUTE(stk_end, fnobj) ((UNSIGNED)(stk_end)-STK_MIN(fnobj))
#define CLR_IRQ \
{ Irq_Stk_Check = STK_END_COMPUTE((Irq_Stk_End = (UNSIGNED)EndSTKP), FuncObj); }
#define CLR_IRQ \
Irq_Stk_Check = STK_END_COMPUTE((Irq_Stk_End = (UNSIGNED) EndSTKP), FuncObj)
#endif