diff options
author | whitequark <whitequark@whitequark.org> | 2019-08-18 08:04:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-18 08:04:10 +0000 |
commit | 101235400caeb4ec019311dfb96100b770060c92 (patch) | |
tree | e1a9537620e8a7dbc213044beea3d7e71173c410 /kernel/log.h | |
parent | 8a2480526f2ff80cbdf0f0f4279e8989b53b6e9b (diff) | |
parent | 2a78a1fd00fe66972885117efb1ac6a8b095f061 (diff) | |
download | yosys-101235400caeb4ec019311dfb96100b770060c92.tar.gz yosys-101235400caeb4ec019311dfb96100b770060c92.tar.bz2 yosys-101235400caeb4ec019311dfb96100b770060c92.zip |
Merge branch 'master' into eddie/pr1266_again
Diffstat (limited to 'kernel/log.h')
-rw-r--r-- | kernel/log.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/log.h b/kernel/log.h index 3e1facae8..5f53f533a 100644 --- a/kernel/log.h +++ b/kernel/log.h @@ -91,7 +91,7 @@ YS_NORETURN void log_cmd_error(const char *format, ...) YS_ATTRIBUTE(format(prin static inline bool ys_debug(int n = 0) { if (log_force_debug) return true; log_debug_suppressed += n; return false; } # define log_debug(...) do { if (ys_debug(1)) log(__VA_ARGS__); } while (0) #else -static inline bool ys_debug(int n = 0) { return false; } +static inline bool ys_debug(int = 0) { return false; } # define log_debug(_fmt, ...) do { } while (0) #endif |