mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
mime: fix "Value stored to 'sz' is never read" scan-build error
This commit is contained in:
parent
cec0734b4c
commit
cd79b53191
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user