aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/nar-accessor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/nar-accessor.cc')
-rw-r--r--src/libstore/nar-accessor.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstore/nar-accessor.cc b/src/libstore/nar-accessor.cc
index c84bb1dea..82595e76a 100644
--- a/src/libstore/nar-accessor.cc
+++ b/src/libstore/nar-accessor.cc
@@ -28,7 +28,6 @@ struct NarIndexer : ParseSink, StringSource
NarMember root;
std::stack<NarMember*> parents;
- std::string currentName;
std::string currentStart;
bool isExec = false;
@@ -56,7 +55,7 @@ struct NarIndexer : ParseSink, StringSource
void createDirectory(const Path & path) override
{
- createMember(path, {FSAccessor::Type::tDirectory, false, 0, 0 });
+ createMember(path, {FSAccessor::Type::tDirectory, false, 0, 0 });
}
void createRegularFile(const Path & path) override