about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-26T20·43+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-26T20·43+0100
commitd0344dd2c1ca5ea0a300bd9f407a8810e92f31a0 (patch)
tree49e550db7c9e32e362d495aa25d7148c912addc5 /src
parent581e1bc5b45c7bbe227dbc5b35b60ca37efe059f (diff)
Remove bad assertion
Diffstat (limited to 'src')
-rw-r--r--src/libstore/nar-accessor.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstore/nar-accessor.cc b/src/libstore/nar-accessor.cc
index 88b027ff3b7d..ff7890af8c80 100644
--- a/src/libstore/nar-accessor.cc
+++ b/src/libstore/nar-accessor.cc
@@ -51,7 +51,6 @@ struct NarIndexer : ParseSink, StringSource
 
     void preallocateContents(unsigned long long size) override
     {
-        assert(currentPath != "");
         currentStart = string(s, pos, 16);
         members.emplace(currentPath,
             NarMember{FSAccessor::Type::tRegular, isExec, pos, size});