compiler warning

This commit is contained in:
James Cherry 2021-07-12 11:15:36 -07:00
parent 8c23d8ef83
commit d3700fa41d
1 changed files with 1 additions and 1 deletions

View File

@ -945,7 +945,7 @@ Sim::evalInstance(const Instance *inst,
else {
LibertyPort *expr_port = expr->port();
Sequential *sequential = (thru_sequentials && expr_port)
? sequential = cell->outputPortSequential(expr_port)
? cell->outputPortSequential(expr_port)
: nullptr;
if (sequential) {
value = evalExpr(sequential->data(), inst);