silence compiler false error

Signed-off-by: Matt Liberty <[email protected]>
This commit is contained in:
Matt Liberty
2024-03-06 20:40:46 -08:00
parent 5fb37b6d19
commit 71c4289ab8
+1 -1
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)