forked from lix-project/lix
Macro hygiene
This commit is contained in:
parent
05d9442f68
commit
e224c16d28
|
@ -178,8 +178,8 @@ extern Verbosity verbosity; /* suppress msgs > this */
|
||||||
lightweight status messages. */
|
lightweight status messages. */
|
||||||
#define logErrorInfo(level, errorInfo...) \
|
#define logErrorInfo(level, errorInfo...) \
|
||||||
do { \
|
do { \
|
||||||
if (level <= nix::verbosity) { \
|
if ((level) <= nix::verbosity) { \
|
||||||
logger->logEI(level, errorInfo); \
|
logger->logEI((level), errorInfo); \
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue