Skip to content

Commit

Permalink
Merge pull request #3 from alaindargelas/fix_unused_var_warn_as_error
Browse files Browse the repository at this point in the history
Fix error: unused variable ‘network’ [-Werror=unused-variable]
  • Loading branch information
akashlevy authored Dec 20, 2024
2 parents 26fd6b9 + 7142041 commit d99c531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/Network.i
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ capacitance(Corner *corner,
const MinMax *min_max)
{
Sta *sta = Sta::sta();
Network *network = sta->ensureLinked();
sta->ensureLinked();
float pin_cap, wire_cap;
sta->connectedCap(self, corner, min_max, pin_cap, wire_cap);
return pin_cap + wire_cap;
Expand Down

0 comments on commit d99c531

Please sign in to comment.