diff options
author | Michael Dawson <mdawson@devrus.com> | 2021-10-08 04:02:49 +0300 |
---|---|---|
committer | Node.js GitHub Bot <github-bot@iojs.org> | 2021-10-11 10:07:46 +0300 |
commit | f11493dfc939555ece831ea9534daa415568ce7c (patch) | |
tree | 95a1ce11908dc1fb2b5e8cd316d68cc117bd2fc4 | |
parent | ca6adcf37e6f4003b3d879b96e4fef320af14c76 (diff) |
src: add missing initialization
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 <rtrott@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
-rw-r--r-- | src/node_options.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_options.h b/src/node_options.h index 02511d52080..19e8ec15db6 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; |