summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/pkg/pkg.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/usr.sbin/pkg/pkg.c b/usr.sbin/pkg/pkg.c
index 100d881..896ae93 100644
--- a/usr.sbin/pkg/pkg.c
+++ b/usr.sbin/pkg/pkg.c
@@ -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;
OpenPOWER on IntegriCloud