silence compiler false error

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
This commit is contained in:
Matt Liberty 2024-03-06 20:40:46 -08:00
parent 5fb37b6d19
commit 71c4289ab8
1 changed files with 1 additions and 1 deletions

View File

@ -1896,7 +1896,7 @@ void
LibertyCell::ensureVoltageWaveforms()
{
if (!have_voltage_waveforms_) {
float vdd;
float vdd = 0;
bool vdd_exists;
liberty_library_->supplyVoltage("VDD", vdd, vdd_exists);
if (!vdd_exists || vdd == 0.0)