fix compiler warnings (errors)

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
This commit is contained in:
Matt Liberty 2024-02-14 00:52:47 -08:00
parent d61313d8ad
commit 8b1c8ccbf9
2 changed files with 2 additions and 2 deletions

View File

@ -163,7 +163,7 @@ public:
const DcalcAnalysisPt *dcalc_ap,
// Return values.
ArcDelay &gate_delay,
Slew &drvr_slew) __attribute__ ((deprecated));
Slew &drvr_slew); // __attribute__ ((deprecated));
// Find gate delays and slews for parallel gates.
virtual ArcDcalcResultSeq gateDelays(ArcDcalcArgSeq &args,

View File

@ -899,7 +899,7 @@ void
LibertyLibrary::ensureVoltageWaveforms()
{
if (!have_voltage_waveforms_) {
float vdd;
float vdd = 0.0f;
bool vdd_exists;
supplyVoltage("VDD", vdd, vdd_exists);
if (!vdd_exists || vdd == 0.0)