From cd79b531916d1d24d715f8b04b80ee34027d9c83 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 20 Nov 2017 23:08:59 +0100 Subject: mime: fix "Value stored to 'sz' is never read" scan-build error --- lib/mime.c | 2 -- 1 file changed, 2 deletions(-) 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; -- cgit v1.2.3