curl_quiche: remove superfluous NULL check

'stream' is always non-NULL at this point

Pointed out by Coverity

Closes #11656
This commit is contained in:
Daniel Stenberg 2023-08-11 11:12:45 +02:00
parent e1356f4c45
commit c7056759be
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -908,8 +908,7 @@ out:
ctx->data_recvd += nread;
CURL_TRC_CF(data, cf, "[%"PRId64"] cf_recv(total=%"
CURL_FORMAT_CURL_OFF_T ") -> %zd, %d",
stream ? stream->id : (int64_t)0,
ctx->data_recvd, nread, *err);
stream->id, ctx->data_recvd, nread, *err);
return nread;
}