mirror of
https://github.com/Interlisp/maiko.git
synced 2026-03-06 02:59:14 +00:00
Suppress empty-statement warning for XLOCK/XUNLOCK macro when not doing locking
This commit is contained in:
@@ -49,8 +49,8 @@ extern volatile sig_atomic_t XNeedSignal;
|
||||
XLocked--; \
|
||||
} while (0)
|
||||
#else
|
||||
#define XLOCK
|
||||
#define XUNLOCK(dsp)
|
||||
#define XLOCK do {} while (0)
|
||||
#define XUNLOCK(dsp) do {} while (0)
|
||||
#endif /* LOCK_X_UPDATES */
|
||||
|
||||
#endif /* XDEFS_H */
|
||||
|
||||
Reference in New Issue
Block a user