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:
Bryan Drewery 2013-11-05 13:36:05 +00:00
parent af50ea380f
commit 5494cb5f12
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=257701

View File

@ -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;