aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorBenno Fünfstück <benno.fuenfstueck@gmail.com>2017-05-15 19:35:36 +0200
committerBenno Fünfstück <benno.fuenfstueck@gmail.com>2017-05-15 19:41:59 +0200
commita1f428b13bd003caaf3a1d1da6e934d52b6ea6dc (patch)
tree233ab4747e7c300aad79ecb31450dc03bc3fad94 /src/libstore
parent5ee06e612a93a30bfa3b2129a3951e0c36f95602 (diff)
nar-accessor.cc: remove unused member NarIndexer::currentName
Diffstat (limited to 'src/libstore')
-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