From: Alberto Gonzalez Date: Mon, 6 Apr 2020 14:37:07 +0000 (+0000) Subject: Use more descriptive variable name. X-Git-Tag: working-ls180~683^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d6de14a0d69c863a5b1d884b5ecd453c7ac7e536;p=yosys.git Use more descriptive variable name. Co-Authored-By: whitequark --- 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()) {