From 86e91d353a9d6dd6d6f4a22c33447d2a0ddf6082 Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Thu, 7 Oct 2021 21:02:49 -0400 Subject: [PATCH] src: add missing initialization This missing initialization was reported by the coverity scans we are in the process of re-enabling. --- src/node_options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_options.h b/src/node_options.h index 02511d520802fc..19e8ec15db6057 100644 --- a/src/node_options.h +++ b/src/node_options.h @@ -111,7 +111,7 @@ class EnvironmentOptions : public Options { std::string module_type; std::string experimental_policy; std::string experimental_policy_integrity; - bool has_policy_integrity_string; + bool has_policy_integrity_string = false; bool experimental_repl_await = true; bool experimental_vm_modules = false; bool expose_internals = false;