gcc compile warning

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2024-07-28 22:51:39 -07:00
parent 984464de01
commit d315767d00
2 changed files with 8 additions and 1 deletions

View File

@ -837,6 +837,7 @@ protected:
void setMinPort(LibertyPort *min);
void addScaledPort(OperatingConditions *op_cond,
LibertyPort *scaled_port);
RiseFallMinMax clkTreeDelays1() const;
LibertyCell *liberty_cell_;
BusDcl *bus_dcl_;

View File

@ -2627,11 +2627,17 @@ LibertyPort::setDriverWaveform(DriverWaveform *driver_waveform,
RiseFallMinMax
LibertyPort::clockTreePathDelays() const
{
return clkTreeDelays();
return clkTreeDelays1();
}
RiseFallMinMax
LibertyPort::clkTreeDelays() const
{
return clkTreeDelays1();
}
RiseFallMinMax
LibertyPort::clkTreeDelays1() const
{
RiseFallMinMax delays;
for (const RiseFall *from_rf : RiseFall::range()) {