mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-18 06:39:03 +00:00
Fix unused warning in annotate_cell_fanout
This commit is contained in:
parent
e4066b784d
commit
e6da1a2d69
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue