From ceb4dcf3b27907f69aa385618bfcfd2c9f9264c3 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Sat, 7 Jan 2017 18:46:00 +0100 Subject: [PATCH] nghttp2_session: fix The 'then' statement is equivalent to the subsequent code fragment found by PVS Studio (V523) --- lib/nghttp2_session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nghttp2_session.c b/lib/nghttp2_session.c index bb822c88..90a5e1ba 100644 --- a/lib/nghttp2_session.c +++ b/lib/nghttp2_session.c @@ -7030,7 +7030,7 @@ int nghttp2_session_resume_data(nghttp2_session *session, int32_t stream_id) { return rv; } - return rv; + return 0; } size_t nghttp2_session_get_outbound_queue_size(nghttp2_session *session) {