Skip to content

Commit

Permalink
Remove unused counter variable [skip-ci]
Browse files Browse the repository at this point in the history
Compilation fails on macos-13 runner with error: variable 'i' set but not used [-Werror,-Wunused-but-set-variable]
  • Loading branch information
Simran-B authored Dec 4, 2024
1 parent dd17d61 commit 4de06b2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/widget/nodeview/nodeviewitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,12 +268,10 @@ void NodeViewItem::SetExpanded(bool e, bool hide_titlebar)

if (IsOutputItem()) {
// Create items for each input of the node
int i = 1;
foreach (const QString &input, node_->inputs()) {
if (IsInputValid(input)) {
NodeViewItem *item = new NodeViewItem(node_, input, -1, context_, this);
children_.append(item);
i++;
}
}

Expand Down

0 comments on commit 4de06b2

Please sign in to comment.