aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/nar-accessor.cc
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-02-26 21:43:59 +0100
commitd0344dd2c1ca5ea0a300bd9f407a8810e92f31a0 (patch)
tree49e550db7c9e32e362d495aa25d7148c912addc5 /src/libstore/nar-accessor.cc
parent581e1bc5b45c7bbe227dbc5b35b60ca37efe059f (diff)
Remove bad assertion
Diffstat (limited to 'src/libstore/nar-accessor.cc')
-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});