diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-11-20 23:08:59 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-11-21 09:02:40 +0100 |
commit | cd79b531916d1d24d715f8b04b80ee34027d9c83 (patch) | |
tree | 01ddbb9f383e7ac6c7bfa8a8134c432257da11be /lib | |
parent | cec0734b4c3a396d22e0c9e30f613d8255f431bf (diff) | |
download | curl-cd79b531916d1d24d715f8b04b80ee34027d9c83.tar.gz |
mime: fix "Value stored to 'sz' is never read" scan-build error
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mime.c | 2 |
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; |