diff options
author | Alberto Gonzalez <boqwxp@airmail.cc> | 2020-04-06 14:37:07 +0000 |
---|---|---|
committer | Alberto Gonzalez <boqwxp@airmail.cc> | 2020-04-06 14:37:07 +0000 |
commit | d6de14a0d69c863a5b1d884b5ecd453c7ac7e536 (patch) | |
tree | d8735f545fd3e6fa4249eb22abe7821af5f739c4 /passes | |
parent | 5431ce694cda96edda8fdf98da5418c873a78345 (diff) | |
download | yosys-d6de14a0d69c863a5b1d884b5ecd453c7ac7e536.tar.gz yosys-d6de14a0d69c863a5b1d884b5ecd453c7ac7e536.tar.bz2 yosys-d6de14a0d69c863a5b1d884b5ecd453c7ac7e536.zip |
Use more descriptive variable name.
Co-Authored-By: whitequark <whitequark@whitequark.org>
Diffstat (limited to 'passes')
-rw-r--r-- | passes/hierarchy/submod.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/hierarchy/submod.cc b/passes/hierarchy/submod.cc index cb4b6d9f4..2db7cf26b 100644 --- a/passes/hierarchy/submod.cc +++ b/passes/hierarchy/submod.cc @@ -273,8 +273,8 @@ struct SubmodWorker if (opt_name.empty()) { - for (auto w : module->wires()) - w->attributes.erase(ID::submod); + for (auto wire : module->wires()) + wire->attributes.erase(ID::submod); for (auto cell : module->cells()) { |