From 4e5cdcd262769148e5a01ce7c440eddf9ebe34d5 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 5 Mar 2022 05:00:44 +0100 Subject: Initialize alwaysRun --- include/ninja/Ninja.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/ninja/Ninja.hpp') 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 in; const std::string out; const std::vector additionalArgs; const std::vector dependsOnBuilds; - bool alwaysRun; + bool alwaysRun = false; }; // Functions throw NinjaException on failure -- cgit v1.2.3