From 3a327293731351aafb87349b5ea8064bd8e8a1ac Mon Sep 17 00:00:00 2001 From: Akash Levy Date: Sun, 17 Nov 2024 10:40:04 -0800 Subject: [PATCH] Remove keep_running variable (unused) --- backends/verilog/verilog_backend.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/backends/verilog/verilog_backend.cc b/backends/verilog/verilog_backend.cc index 6a81a31c9..6602d96d7 100644 --- a/backends/verilog/verilog_backend.cc +++ b/backends/verilog/verilog_backend.cc @@ -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; }