diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-01-24 12:16:46 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-01-24 12:16:46 +0100 |
commit | 2a9ad48eb63a5f019c528fe46ceca0065364a44d (patch) | |
tree | a84eec02de3e555ca502d9fc4cdc2d9ca66b203c /kernel/log.h | |
parent | 8fe9ab50e51204e5709eaad0fbf2ffb5397a0194 (diff) | |
download | yosys-2a9ad48eb63a5f019c528fe46ceca0065364a44d.tar.gz yosys-2a9ad48eb63a5f019c528fe46ceca0065364a44d.tar.bz2 yosys-2a9ad48eb63a5f019c528fe46ceca0065364a44d.zip |
Added ENABLE_NDEBUG makefile options
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 8b3d8a3ad..fd35c7bf7 100644 --- a/kernel/log.h +++ b/kernel/log.h @@ -220,7 +220,7 @@ static inline void log_dump_val_worker(char *v) { log("%s", v); } static inline void log_dump_val_worker(const char *v) { log("%s", v); } static inline void log_dump_val_worker(std::string v) { log("%s", v.c_str()); } static inline void log_dump_val_worker(PerformanceTimer p) { log("%f seconds", p.sec()); } -static inline void log_dump_args_worker(const char *p) { log_assert(*p == 0); } +static inline void log_dump_args_worker(const char *p YS_ATTRIBUTE(unused)) { log_assert(*p == 0); } void log_dump_val_worker(RTLIL::SigSpec v); template<typename T> |