Skip to content

Commit 15b8f90

Browse files
mhdawsonCeres6
authored andcommitted
quic: address new coverity warning
- address coverity warning about unitialized variable Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: nodejs#48384 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
1 parent dcdf4cb commit 15b8f90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/quic/session.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ Maybe<Session::Options> Session::Options::From(Environment* env,
363363

364364
auto& state = BindingData::Get(env);
365365
auto params = value.As<Object>();
366-
Options options;
366+
Options options = Options();
367367

368368
#define SET(name) \
369369
SetOption<Session::Options, &Session::Options::name>( \

0 commit comments

Comments
 (0)