mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 13:18:56 +00:00
Fix various NDEBUG compiler warnings, closes #1255
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
c851dc1310
commit
0c5db07cd6
6 changed files with 18 additions and 13 deletions
|
@ -312,7 +312,7 @@ struct XAigerWriter
|
|||
#if 0
|
||||
toposort.analyze_loops = true;
|
||||
#endif
|
||||
bool no_loops = toposort.sort();
|
||||
bool no_loops YS_ATTRIBUTE(unused) = toposort.sort();
|
||||
#if 0
|
||||
unsigned i = 0;
|
||||
for (auto &it : toposort.loops) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue