Remove condition which can never be true as the previous loop
is never exited while remote == NULL. Reported by: Coverity Approved by: bapt MFC after: 2 days
This commit is contained in:
parent
cb6df3f35c
commit
e6d38ec2e5
@ -233,9 +233,6 @@ fetch_to_fd(const char *url, char *path)
|
||||
}
|
||||
}
|
||||
|
||||
if (remote == NULL)
|
||||
goto fetchfail;
|
||||
|
||||
while (done < st.size) {
|
||||
if ((r = fread(buf, 1, sizeof(buf), remote)) < 1)
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user