about summary refs log tree commit diff
diff options
context:
space:
mode:
-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