about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libexpr/eval.cc2
-rw-r--r--src/libexpr/eval.hh2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index 3aa35b32760a..c58b95126833 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -148,8 +148,6 @@ EvalState::EvalState()
     nrAttrsets = nrOpUpdates = nrOpUpdateValuesCopied = 0;
     deepestStack = (char *) -1;
 
-    allowUnsafeEquality = getEnv("NIX_NO_UNSAFE_EQ", "") == "";
-
 #if HAVE_BOEHMGC
     static bool gcInitialised = true;
     if (gcInitialised) {
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh
index 1db3453f395c..75438f5eba85 100644
--- a/src/libexpr/eval.hh
+++ b/src/libexpr/eval.hh
@@ -209,8 +209,6 @@ public:
 private:
     SrcToStore srcToStore; 
 
-    bool allowUnsafeEquality;
-
     /* A cache from path names to parse trees. */
     std::map<Path, Expr *> parseTrees;