From 18d53573f72187fc843d6f90e5e088985bac6257 Mon Sep 17 00:00:00 2001 From: Alain Dargelas Date: Fri, 20 Dec 2024 13:57:42 -0800 Subject: [PATCH 1/2] =?UTF-8?q?Fix=20error:=20unused=20variable=20?= =?UTF-8?q?=E2=80=98network=E2=80=99=20[-Werror=3Dunused-variable]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- network/Network.i | 1 - 1 file changed, 1 deletion(-) diff --git a/network/Network.i b/network/Network.i index 294c5223..767b4fd7 100644 --- a/network/Network.i +++ b/network/Network.i @@ -768,7 +768,6 @@ capacitance(Corner *corner, const MinMax *min_max) { Sta *sta = Sta::sta(); - Network *network = sta->ensureLinked(); float pin_cap, wire_cap; sta->connectedCap(self, corner, min_max, pin_cap, wire_cap); return pin_cap + wire_cap; From 7142041597f20c4e67ad5d1e46a5f530f5891027 Mon Sep 17 00:00:00 2001 From: Alain Dargelas Date: Fri, 20 Dec 2024 14:02:27 -0800 Subject: [PATCH 2/2] =?UTF-8?q?Fix=20error:=20unused=20variable=20?= =?UTF-8?q?=E2=80=98network=E2=80=99=20[-Werror=3Dunused-variable]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- network/Network.i | 1 + 1 file changed, 1 insertion(+) diff --git a/network/Network.i b/network/Network.i index 767b4fd7..2a7d7ee0 100644 --- a/network/Network.i +++ b/network/Network.i @@ -768,6 +768,7 @@ capacitance(Corner *corner, const MinMax *min_max) { Sta *sta = Sta::sta(); + sta->ensureLinked(); float pin_cap, wire_cap; sta->connectedCap(self, corner, min_max, pin_cap, wire_cap); return pin_cap + wire_cap;