From 857af2ba99031511ee3970ad585260bf08bbfee6 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This missing initialization was reported by the coverity scans we are in the process of re-enabling. PR-URL: https://github.com/nodejs/node/pull/40370 Reviewed-By: Rich Trott Reviewed-By: Richard Lau Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Tobias Nießen Reviewed-By: James M Snell Reviewed-By: Darshan Sen Reviewed-By: Gerhard Stöbich --- 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 e43bb15a9a0c6e..e5744333140a02 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;