Skip to content

Commit 4952a09

Browse files
authored
Merge pull request #2575 from mgreter/bugfix/compiler-warning
Fix compiler warning (unused variable)
2 parents 8050d32 + a6ca492 commit 4952a09

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/check_nesting.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,7 @@ namespace Sass {
108108
this->visit_children(i);
109109

110110
if (Block_Ptr b = Cast<Block>(i->alternative())) {
111-
for (auto n : i->alternative()->elements()) {
112-
n->perform(this);
113-
}
111+
for (auto n : b->elements()) n->perform(this);
114112
}
115113

116114
return i;

0 commit comments

Comments
 (0)