summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/pacrunner.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/pacrunner.c b/plugins/pacrunner.c
index 44ac3c12..f914eeb0 100644
--- a/plugins/pacrunner.c
+++ b/plugins/pacrunner.c
@@ -313,9 +313,6 @@ static char * parse_url(const char *url)
if (scheme == NULL)
return NULL;
- if (host_ret == NULL)
- return NULL;
-
host = strstr(scheme, "://");
if (host != NULL) {
*host = '\0';