Skip to content

Commit 35c3588

Browse files
committed
Is it that
1 parent 6712401 commit 35c3588

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/environment.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,8 @@ namespace Sass {
5959
// profiling only show a very minor increase (but keep anyway).
6060
if (a->vidx().isValid()) {
6161
assigne = &compiler.varRoot.getVariable(a->vidx());
62-
ValueObj result = a->value()->accept(this);
63-
compiler.varRoot.setVariable(
64-
a->vidx(),
65-
result,
66-
false);
67-
assigne = nullptr;
62+
compiler.varRoot.setVariable(a->vidx(),
63+
a->value()->accept(this), a->is_default());
6864
return nullptr;
6965
}
7066

0 commit comments

Comments
 (0)