summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-11-20 23:08:59 +0100
committerDaniel Stenberg <daniel@haxx.se>2017-11-21 09:02:40 +0100
commitcd79b531916d1d24d715f8b04b80ee34027d9c83 (patch)
tree01ddbb9f383e7ac6c7bfa8a8134c432257da11be /lib
parentcec0734b4c3a396d22e0c9e30f613d8255f431bf (diff)
downloadcurl-cd79b531916d1d24d715f8b04b80ee34027d9c83.tar.gz
mime: fix "Value stored to 'sz' is never read" scan-build error
Diffstat (limited to 'lib')
-rw-r--r--lib/mime.c2
1 files changed, 0 insertions, 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;