about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2012-01-04T21·47+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2012-01-04T21·47+0000
commitb52966e821b05e0d2e379ed6bbbf748f22453108 (patch)
treee9946782f2cba9bfdcff6542290ed50ec7ee5092 /src
parent35f2a6ba82419d48ed8ebce7b8c3e74e65ac74f2 (diff)
* Remove dead code.
Diffstat (limited to 'src')
-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;