lib1560: drop unused variable 'url'

Spotted by Copilot

Closes #21821
This commit is contained in:
Daniel Stenberg 2026-06-01 08:55:37 +02:00
parent d3391229b0
commit 872c313d76
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -1611,7 +1611,6 @@ static int setget_parts(bool has_utf8)
else
rc = CURLUE_OK;
if(!rc) {
char *url = NULL;
CURLUcode uc = updateurl(urlp, setget_parts_list[i].set,
setget_parts_list[i].setflags);
@ -1629,7 +1628,6 @@ static int setget_parts(bool has_utf8)
setget_parts_list[i].getflags))
error++; /* add */
}
curl_free(url);
}
else if(rc != CURLUE_OK) {
curl_mfprintf(stderr, "Set parts\nin: %s\nreturned %d (expected %d)\n",