From dba11c1ecf4d10a20062bac9621a6a6aae91f87c Mon Sep 17 00:00:00 2001 From: Akash Levy Date: Wed, 28 May 2025 20:25:42 +0200 Subject: [PATCH] Fix compiler warning about if (#247) --- sdc/Sdc.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdc/Sdc.cc b/sdc/Sdc.cc index 6ba33852..06849033 100644 --- a/sdc/Sdc.cc +++ b/sdc/Sdc.cc @@ -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); + } } } }