From: Eddie Hung Date: Fri, 16 Aug 2019 20:35:39 +0000 (-0700) Subject: Remove unused variable X-Git-Tag: working-ls180~1135^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b156beda16cce69e7318a3a2fdbc3ad547370c6;p=yosys.git Remove unused variable --- diff --git a/frontends/aiger/aigerparse.cc b/frontends/aiger/aigerparse.cc index 534cc0daa..ac9e31f70 100644 --- a/frontends/aiger/aigerparse.cc +++ b/frontends/aiger/aigerparse.cc @@ -901,11 +901,6 @@ void AigerReader::post_process() RTLIL::Cell* cell = module->cell(stringf("$__box%d__", variable)); if (cell) { // ABC could have optimised this box away module->rename(cell, escaped_s); - #ifndef NDEBUG - RTLIL::Module* box_module = design->module(cell->type); - log_assert(box_module); - #endif - for (const auto &i : cell->connections()) { RTLIL::IdString port_name = i.first; RTLIL::SigSpec rhs = i.second;