From d6de14a0d69c863a5b1d884b5ecd453c7ac7e536 Mon Sep 17 00:00:00 2001 From: Alberto Gonzalez Date: Mon, 6 Apr 2020 14:37:07 +0000 Subject: [PATCH] Use more descriptive variable name. Co-Authored-By: whitequark --- passes/hierarchy/submod.cc | 4 ++-- 1 file 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()) { -- 2.30.2