about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorBenno Fünfstück <benno.fuenfstueck@gmail.com>2017-05-15T17·35+0200
committerBenno Fünfstück <benno.fuenfstueck@gmail.com>2017-05-15T17·41+0200
commita1f428b13bd003caaf3a1d1da6e934d52b6ea6dc (patch)
tree233ab4747e7c300aad79ecb31450dc03bc3fad94 /src
parent5ee06e612a93a30bfa3b2129a3951e0c36f95602 (diff)
nar-accessor.cc: remove unused member NarIndexer::currentName
Diffstat (limited to 'src')
-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 c84bb1dea321..82595e76a9b5 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