mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-21 05:13:40 +00:00
Remove YS_ATTRIBUTE(unused) where present just for log_assert()/log_debug().
This commit is contained in:
parent
21692c4a2e
commit
118e4caa37
9 changed files with 26 additions and 26 deletions
|
@ -778,7 +778,7 @@ bool AstNode::simplify(bool const_fold, bool at_zero, bool in_lvalue, int stage,
|
|||
while (node->simplify(true, false, false, 1, -1, false, node->type == AST_PARAMETER || node->type == AST_LOCALPARAM))
|
||||
did_something = true;
|
||||
if (node->type == AST_ENUM) {
|
||||
for (auto enode YS_ATTRIBUTE(unused) : node->children){
|
||||
for (auto enode : node->children){
|
||||
log_assert(enode->type==AST_ENUM_ITEM);
|
||||
while (node->simplify(true, false, false, 1, -1, false, in_param))
|
||||
did_something = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue