aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-08-09 11:45:36 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-08-10 18:05:35 +0200
commitf43823f6763d4be58412d03e46b2598a68464f81 (patch)
tree7d63135c764a2435a68f4e2b3e9b522ccbf74abc
parentd961c29c9c5e806ff7c46c855a1e9d2b6cae593b (diff)
NarAccessor: Fix handling of non-executable files
-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 8896862be..ded19c05d 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)
{