From d3700fa41d36d075283a2a0b47ef1263e0e6910d Mon Sep 17 00:00:00 2001 From: James Cherry Date: Mon, 12 Jul 2021 11:15:36 -0700 Subject: [PATCH] compiler warning --- search/Sim.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search/Sim.cc b/search/Sim.cc index 6e99ceb1..69eda947 100644 --- a/search/Sim.cc +++ b/search/Sim.cc @@ -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);