lib/fetch/fetch.c: CID 62738 (unused value)
This commit is contained in:
parent
89b8c61c47
commit
44f5fb107e
@ -378,7 +378,6 @@ fetchParseURL(const char *URL)
|
||||
if (*URL == '/') {
|
||||
pre_quoted = 0;
|
||||
strcpy(u->scheme, SCHEME_FILE);
|
||||
p = URL;
|
||||
goto quote_doc;
|
||||
}
|
||||
if (strncmp(URL, "file:", 5) == 0) {
|
||||
@ -389,7 +388,7 @@ fetchParseURL(const char *URL)
|
||||
url_seterr(URL_MALFORMED);
|
||||
goto ouch;
|
||||
}
|
||||
p = URL + 2;
|
||||
URL += 2;
|
||||
goto quote_doc;
|
||||
}
|
||||
if (strncmp(URL, "http:", 5) == 0 ||
|
||||
@ -408,7 +407,6 @@ fetchParseURL(const char *URL)
|
||||
goto ouch;
|
||||
}
|
||||
URL += 2;
|
||||
p = URL;
|
||||
goto find_user;
|
||||
}
|
||||
if (strncmp(URL, "ftp:", 4) == 0) {
|
||||
@ -420,7 +418,6 @@ fetchParseURL(const char *URL)
|
||||
goto ouch;
|
||||
}
|
||||
URL += 2;
|
||||
p = URL;
|
||||
goto find_user;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user