Skip to content

Commit a6ca492

Browse files
committed
Fix compiler warning (unused variable)
1 parent 60f8391 commit a6ca492

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)