Skip to content

Commit f11493d

Browse files
mhdawsonnodejs-github-bot
authored andcommitted
src: add missing initialization
This missing initialization was reported by the coverity scans we are in the process of re-enabling. PR-URL: #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>
1 parent ca6adcf commit f11493d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_options.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class EnvironmentOptions : public Options {
111111
std::string module_type;
112112
std::string experimental_policy;
113113
std::string experimental_policy_integrity;
114-
bool has_policy_integrity_string;
114+
bool has_policy_integrity_string = false;
115115
bool experimental_repl_await = true;
116116
bool experimental_vm_modules = false;
117117
bool expose_internals = false;

0 commit comments

Comments
 (0)