aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/script
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-04-22 13:31:07 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-04-22 13:31:07 +0200
commitc505faf0ed9588875542dc323044fc2fc1960d33 (patch)
tree394f0fda390e57d2b1b196b2e3aa1dcd96f3e4ef /libbuild2/script
parentce4848cfaaa569da3e11de51f4174eb21709b9b9 (diff)
Fix uninitialized variable bug
Diffstat (limited to 'libbuild2/script')
-rw-r--r--libbuild2/script/script.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/script/script.hxx b/libbuild2/script/script.hxx
index c406165..f5bd69a 100644
--- a/libbuild2/script/script.hxx
+++ b/libbuild2/script/script.hxx
@@ -337,7 +337,7 @@ namespace build2
optional<dir_path> cwd;
environment_vars variables;
optional<duration> timeout;
- bool timeout_success;
+ bool timeout_success = false;
optional<redirect> in;
optional<redirect> out;