From: Austin Seipp Date: Sun, 15 Jan 2017 22:39:12 +0000 (-0600) Subject: passes/hierarchy: delete some dead code X-Git-Tag: yosys-0.8~533^2~1^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6781543244105c880eb847dc59d1d801b10bdc4f;p=yosys.git passes/hierarchy: delete some dead code Signed-off-by: Austin Seipp --- diff --git a/passes/hierarchy/hierarchy.cc b/passes/hierarchy/hierarchy.cc index 337af7fd7..f1c4a1d3b 100644 --- a/passes/hierarchy/hierarchy.cc +++ b/passes/hierarchy/hierarchy.cc @@ -175,16 +175,12 @@ bool expand_module(RTLIL::Design *design, RTLIL::Module *module, bool flag_check { filename = dir + "/" + RTLIL::unescape_id(cell->type) + ".v"; if (check_file_exists(filename)) { - std::vector args; - args.push_back(filename); Frontend::frontend_call(design, NULL, filename, "verilog"); goto loaded_module; } filename = dir + "/" + RTLIL::unescape_id(cell->type) + ".il"; if (check_file_exists(filename)) { - std::vector args; - args.push_back(filename); Frontend::frontend_call(design, NULL, filename, "ilang"); goto loaded_module; }