Fix compiler warning about if (#247)

This commit is contained in:
Akash Levy 2025-05-28 20:25:42 +02:00 committed by GitHub
parent b2bc995160
commit dba11c1ecf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -3980,10 +3980,11 @@ Sdc::unrecordPathDelayInternalTo(ExceptionPath *exception)
for (const Pin *pin : *to->pins()) {
if (!(hasLibertyCheckTo(pin)
|| network_->isTopLevelPort(pin))
&& !pathDelayTo(pin))
&& !pathDelayTo(pin)) {
path_delay_internal_to_.erase(pin);
if (exception->breakPath())
path_delay_internal_to_break_.erase(pin);
}
}
}
}