diff options
author | whitequark <whitequark@whitequark.org> | 2020-06-19 01:32:48 +0000 |
---|---|---|
committer | whitequark <whitequark@whitequark.org> | 2020-06-19 15:48:58 +0000 |
commit | 118e4caa37aa437974d9ec2ac65a4c6048cf6291 (patch) | |
tree | bbac3bc60c6c5c7fbe417292eebd9819afb9c72a /frontends/ast | |
parent | 21692c4a2e0e70d6e0d09dd0b3c93ff70f1f236e (diff) | |
download | yosys-118e4caa37aa437974d9ec2ac65a4c6048cf6291.tar.gz yosys-118e4caa37aa437974d9ec2ac65a4c6048cf6291.tar.bz2 yosys-118e4caa37aa437974d9ec2ac65a4c6048cf6291.zip |
Remove YS_ATTRIBUTE(unused) where present just for log_assert()/log_debug().
Diffstat (limited to 'frontends/ast')
-rw-r--r-- | frontends/ast/simplify.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/ast/simplify.cc b/frontends/ast/simplify.cc index 5f026dfed..55e7da0aa 100644 --- a/frontends/ast/simplify.cc +++ b/frontends/ast/simplify.cc @@ -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; |