diff options
Diffstat (limited to 'third_party/nix/src/libexpr/attr-set.cc')
-rw-r--r-- | third_party/nix/src/libexpr/attr-set.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/third_party/nix/src/libexpr/attr-set.cc b/third_party/nix/src/libexpr/attr-set.cc index 0e4cf5d9dc5f..495f9816c7aa 100644 --- a/third_party/nix/src/libexpr/attr-set.cc +++ b/third_party/nix/src/libexpr/attr-set.cc @@ -71,10 +71,6 @@ void Bindings::merge(Bindings* other) { Bindings* Bindings::NewGC() { return new (GC) Bindings; } void EvalState::mkAttrs(Value& v, size_t capacity) { - if (capacity == 0) { - v = vEmptySet; - return; - } clearValue(v); v.type = tAttrs; v.attrs = Bindings::NewGC(); |