Remove keep_running variable (unused)

This commit is contained in:
Akash Levy 2024-11-17 10:40:04 -08:00
parent 8f9a0b680a
commit 3a32729373
1 changed files with 0 additions and 2 deletions

View File

@ -2332,7 +2332,6 @@ void dump_module(std::ostream &f, std::string indent, RTLIL::Module *module)
dump_attributes(f, indent, module->attributes, "\n", /*modattr=*/true);
f << stringf("%s" "module %s(", indent.c_str(), id(module->name, false).c_str());
bool keep_running = true;
int cnt = 0;
int max_port_id = 0;
for (auto wire : module->wires()) {
@ -2348,7 +2347,6 @@ void dump_module(std::ostream &f, std::string indent, RTLIL::Module *module)
if (port_id != 1)
f << stringf(", ");
f << stringf("%s", id(wire->name).c_str());
keep_running = true;
if (cnt==20) { f << stringf("\n"); cnt = 0; } else cnt++;
continue;
}