mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05: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;
|
size_t sz;
|
||||||
|
|
||||||
sz = numbytes - state->offset;
|
|
||||||
|
|
||||||
if(numbytes > state->offset) {
|
if(numbytes > state->offset) {
|
||||||
sz = numbytes - state->offset;
|
sz = numbytes - state->offset;
|
||||||
bytes += state->offset;
|
bytes += state->offset;
|
||||||
|
Loading…
Reference in New Issue
Block a user