From e6da1a2d69b3b9785b2507780acad71896767ee0 Mon Sep 17 00:00:00 2001 From: Akash Levy Date: Wed, 12 Mar 2025 20:54:03 -0700 Subject: [PATCH] Fix unused warning in annotate_cell_fanout --- passes/silimate/annotate_cell_fanout.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/passes/silimate/annotate_cell_fanout.cc b/passes/silimate/annotate_cell_fanout.cc index 0dfce01fd..63bf02835 100644 --- a/passes/silimate/annotate_cell_fanout.cc +++ b/passes/silimate/annotate_cell_fanout.cc @@ -613,12 +613,12 @@ struct SplitHighFanoutNets : public ScriptPass { Cell *cell = itrCell.first; int fanout = itrCell.second; if (limit > 0 && (fanout > limit)) { - int nbOutputs = 0; + // int nbOutputs = 0; for (auto &conn : cell->connections()) { IdString portName = conn.first; - if (cell->output(portName)) { - nbOutputs++; - } + // if (cell->output(portName)) { + // nbOutputs++; + // } } for (auto &conn : cell->connections()) { IdString portName = conn.first;