diff options
author | Michael Dawson <mdawson@devrus.com> | 2022-03-21 20:48:27 +0300 |
---|---|---|
committer | Michael Dawson <mdawson@devrus.com> | 2022-03-29 23:49:02 +0300 |
commit | 33cbdb33e43440f3fa88f36510403e8fabd49b72 (patch) | |
tree | 432eea7beaff3fd6890bd177db3ba266bcfc3b1c /src/node_http2.cc | |
parent | 1000eb168a06cc4403454c48dd1a2f8bdfd60275 (diff) |
src: address 3 useless call coverity warnings
Fix the last 3 useless call reports from coverity
Signed-off-by: Michael Dawson <mdawson@devrus.com>
PR-URL: https://github.com/nodejs/node/pull/42426
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'src/node_http2.cc')
-rw-r--r-- | src/node_http2.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/node_http2.cc b/src/node_http2.cc index cf1aa81d32c..e0786677264 100644 --- a/src/node_http2.cc +++ b/src/node_http2.cc @@ -2646,7 +2646,6 @@ void Http2Session::New(const FunctionCallbackInfo<Value>& args) { static_cast<SessionType>( args[0]->Int32Value(env->context()).ToChecked()); Http2Session* session = new Http2Session(state, args.This(), type); - session->get_async_id(); // avoid compiler warning Debug(session, "session created"); } |