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
af50ea380f
commit
5494cb5f12
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=257701
@ -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