From: Daniel Stenberg Date: Mon, 20 Nov 2017 22:08:59 +0000 (+0100) Subject: mime: fix "Value stored to 'sz' is never read" scan-build error X-Git-Tag: curl-7_57_0~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cd79b531916d1d24d715f8b04b80ee34027d9c83;p=curl mime: fix "Value stored to 'sz' is never read" scan-build error --- diff --git a/lib/mime.c b/lib/mime.c index 07eded723..457000a0b 100644 --- a/lib/mime.c +++ b/lib/mime.c @@ -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;