forked from lix-project/lix
libexpr: Squash similar conditions
Signed-off-by: Pamplemousse <xav.maso@gmail.com>
This commit is contained in:
parent
d64cb33e90
commit
2de7a1fe67
|
@ -3645,9 +3645,7 @@ void EvalState::createBaseEnv()
|
|||
if (!evalSettings.pureEval) {
|
||||
mkInt(v, time(0));
|
||||
addConstant("__currentTime", v);
|
||||
}
|
||||
|
||||
if (!evalSettings.pureEval) {
|
||||
mkString(v, settings.thisSystem.get());
|
||||
addConstant("__currentSystem", v);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue