aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/file-cache.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-03-16 12:59:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-03-16 12:59:16 +0200
commit43dcc20d0da8e94f7089212220cc9eecd087ce03 (patch)
tree29136f0a7871db84a394d3e6ad4c2aa2d59cdbfa /libbuild2/file-cache.hxx
parent7a4f1ae238b918fe21671d0d1a5549aeb1fe6425 (diff)
Fix uninitialized value issue in file cache
Diffstat (limited to 'libbuild2/file-cache.hxx')
-rw-r--r--libbuild2/file-cache.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/file-cache.hxx b/libbuild2/file-cache.hxx
index 4486307..d3c0a30 100644
--- a/libbuild2/file-cache.hxx
+++ b/libbuild2/file-cache.hxx
@@ -105,7 +105,7 @@ namespace build2
{
using path_type = build2::path;
- bool temporary;
+ bool temporary = true;
// The returned reference is valid and stable for the lifetime of the
// entry handle.