From b52966e821b05e0d2e379ed6bbbf748f22453108 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 4 Jan 2012 21:47:48 +0000 Subject: [PATCH] * Remove dead code. --- src/libexpr/eval.cc | 2 -- src/libexpr/eval.hh | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index 3aa35b327..c58b95126 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 1db3453f3..75438f5eb 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 parseTrees;