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-03-02T14·46+0100
commit0a62d9b3d73afb8a5111cdecb23a0a4d6954493d (patch)
treec2dc5a3b56eb73c31f175e0dd85d0f1af82ad958 /src
parent89a2fa68aca83082b50132dd98a170bcce82dae9 (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});