mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
Macro hygiene
This commit is contained in:
parent
05d9442f68
commit
e224c16d28
@ -178,8 +178,8 @@ extern Verbosity verbosity; /* suppress msgs > this */
|
||||
lightweight status messages. */
|
||||
#define logErrorInfo(level, errorInfo...) \
|
||||
do { \
|
||||
if (level <= nix::verbosity) { \
|
||||
logger->logEI(level, errorInfo); \
|
||||
if ((level) <= nix::verbosity) { \
|
||||
logger->logEI((level), errorInfo); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user