lib: reserve 'result' for CURLcode

For consistency, whereever we use a local variable named 'result' that
is a CURLcode type. Make other types use other names.

Closes #21244
This commit is contained in:
Daniel Stenberg 2026-04-06 22:21:12 +02:00
parent 4cb4f9d602
commit 9f5d1a38d1
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
9 changed files with 66 additions and 67 deletions

View file

@ -1267,10 +1267,9 @@ static bool url_match_conn(struct connectdata *conn, void *userdata)
return TRUE;
}
static bool url_match_result(bool result, void *userdata)
static bool url_match_result(void *userdata)
{
struct url_conn_match *match = userdata;
(void)result;
if(match->found) {
/* Attach it now while still under lock, so the connection does
* no longer appear idle and can be reaped. */