mirror of
https://github.com/curl/curl.git
synced 2025-01-12 13:55:11 +08:00
ngtcp2: remove dead code
'result' is always zero (CURLE_OK) at this point Detected by Coverity Closes #11622
This commit is contained in:
parent
00a70cca74
commit
9bca45dba8
@ -1168,7 +1168,7 @@ static int cb_h3_recv_data(nghttp3_conn *conn, int64_t stream3_id,
|
||||
}
|
||||
CURL_TRC_CF(data, cf, "[%" PRId64 "] DATA len=%zu", stream->id, buflen);
|
||||
h3_drain_stream(cf, data);
|
||||
return result? -1 : 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int cb_h3_deferred_consume(nghttp3_conn *conn, int64_t stream3_id,
|
||||
|
Loading…
Reference in New Issue
Block a user