Skip to content

Commit

Permalink
cleanup: fix missing extra_args check in autoname
Browse files Browse the repository at this point in the history
  • Loading branch information
widlarizer committed Apr 2, 2024
1 parent 4323529 commit 7159a98
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions passes/cmds/autoname.cc
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,7 @@ struct AutonamePass : public Pass {
}
void execute(std::vector<std::string> args, RTLIL::Design *design) override
{
size_t argidx;
for (argidx = 1; argidx < args.size(); argidx++)
{
break;
}
extra_args(args, 1, design);

log_header(design, "Executing AUTONAME pass.\n");

Expand Down

0 comments on commit 7159a98

Please sign in to comment.