aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-03-05 05:00:44 +0100
committerdec05eba <dec05eba@protonmail.com>2022-03-05 05:00:44 +0100
commit4e5cdcd262769148e5a01ce7c440eddf9ebe34d5 (patch)
tree6745f48f933f20cd926d5b1692cf351dee58497f /include
parent691adcce8c2b23af4d0ed855ac7003bda0c8a171 (diff)
Initialize alwaysRunHEADmaster
Diffstat (limited to 'include')
-rw-r--r--include/ninja/Ninja.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ninja/Ninja.hpp b/include/ninja/Ninja.hpp
index 095c959..1a5695d 100644
--- a/include/ninja/Ninja.hpp
+++ b/include/ninja/Ninja.hpp
@@ -89,12 +89,12 @@ namespace ninja
struct NinjaBuild
{
- const NinjaRule *rule;
+ const NinjaRule *rule = nullptr;
const std::vector<std::string> in;
const std::string out;
const std::vector<ninja::NinjaArgValue> additionalArgs;
const std::vector<NinjaBuild*> dependsOnBuilds;
- bool alwaysRun;
+ bool alwaysRun = false;
};
// Functions throw NinjaException on failure