about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-08-09T09·45+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-08-10T16·05+0200
commitf43823f6763d4be58412d03e46b2598a68464f81 (patch)
tree7d63135c764a2435a68f4e2b3e9b522ccbf74abc /src
parentd961c29c9c5e806ff7c46c855a1e9d2b6cae593b (diff)
NarAccessor: Fix handling of non-executable files
Diffstat (limited to 'src')
-rw-r--r--src/libstore/nar-accessor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/nar-accessor.cc b/src/libstore/nar-accessor.cc
index 8896862be149..ded19c05d2cd 100644
--- a/src/libstore/nar-accessor.cc
+++ b/src/libstore/nar-accessor.cc
@@ -27,7 +27,7 @@ struct NarIndexer : ParseSink, StringSource
 
     Path currentPath;
     std::string currentStart;
-    bool isExec;
+    bool isExec = false;
 
     NarIndexer(const std::string & nar) : StringSource(nar)
     {