Skip to content

Commit

Permalink
quic: address new coverity warning
Browse files Browse the repository at this point in the history
- 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>
  • Loading branch information
mhdawson authored and Ceres6 committed Aug 14, 2023
1 parent dcdf4cb commit 15b8f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quic/session.cc
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ Maybe<Session::Options> Session::Options::From(Environment* env,

auto& state = BindingData::Get(env);
auto params = value.As<Object>();
Options options;
Options options = Options();

#define SET(name) \
SetOption<Session::Options, &Session::Options::name>( \
Expand Down

0 comments on commit 15b8f90

Please sign in to comment.