url: fix use of an uninitialized variable

Closes #13399
This commit is contained in:
Jiwoo Park 2024-04-17 21:41:07 +09:00 committed by Daniel Stenberg
parent 411d12886e
commit 5fb018494d
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -815,7 +815,7 @@ static bool extract_if_dead(struct connectdata *conn,
}
else {
bool input_pending;
bool input_pending = FALSE;
Curl_attach_connection(data, conn);
dead = !Curl_conn_is_alive(data, conn, &input_pending);