aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-26 21:43:59 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-02 15:46:07 +0100
commit0a62d9b3d73afb8a5111cdecb23a0a4d6954493d (patch)
treec2dc5a3b56eb73c31f175e0dd85d0f1af82ad958 /src/libstore
parent89a2fa68aca83082b50132dd98a170bcce82dae9 (diff)
Remove bad assertion
Diffstat (limited to 'src/libstore')
-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 88b027ff3..ff7890af8 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});