diff --git a/src/dbSta/src/dbNetwork.cc b/src/dbSta/src/dbNetwork.cc index 6bf65a62b73..bdbb260dabe 100644 --- a/src/dbSta/src/dbNetwork.cc +++ b/src/dbSta/src/dbNetwork.cc @@ -347,10 +347,10 @@ DbNetPinIterator::DbNetPinIterator(const Net* net, const dbNetwork* network) dbModNet* modnet = nullptr; network_ = network; network->staToDb(net, dnet, modnet); + next_ = nullptr; if (dnet) { iitr_ = dnet->getITerms().begin(); iitr_end_ = dnet->getITerms().end(); - next_ = nullptr; } if (modnet) { iitr_ = modnet->getITerms().begin();