1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 07:38:49 -05:00

mime: fix "Value stored to 'sz' is never read" scan-build error

This commit is contained in:
Daniel Stenberg 2017-11-20 23:08:59 +01:00
parent cec0734b4c
commit cd79b53191
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -719,8 +719,6 @@ static size_t readback_bytes(mime_state *state,
{
size_t sz;
sz = numbytes - state->offset;
if(numbytes > state->offset) {
sz = numbytes - state->offset;
bytes += state->offset;