From 71c4289ab8c3697d5a83abb81f40bdb620593a7b Mon Sep 17 00:00:00 2001 From: Matt Liberty Date: Wed, 6 Mar 2024 20:40:46 -0800 Subject: [PATCH] silence compiler false error Signed-off-by: Matt Liberty --- liberty/Liberty.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liberty/Liberty.cc b/liberty/Liberty.cc index 05fae172..e486915c 100644 --- a/liberty/Liberty.cc +++ b/liberty/Liberty.cc @@ -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)