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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user