mirror of
https://github.com/curl/curl.git
synced 2026-06-02 04:24:15 +03:00
urlapi: remove pathlen assignment
"Value stored to 'pathlen' is never read"
Follow-up to 804d5293f8
Reported-by: Kvarec Lezki
Closes #10405
This commit is contained in:
parent
e1f78ce25b
commit
37554d7c07
1 changed files with 0 additions and 1 deletions
|
|
@ -1207,7 +1207,6 @@ static CURLUcode parseurl(const char *url, CURLU *u, unsigned int flags)
|
|||
if(pathlen <= 1) {
|
||||
/* there is no path left or just the slash, unset */
|
||||
path = NULL;
|
||||
pathlen = 0;
|
||||
}
|
||||
else {
|
||||
if(!u->path) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue