request: make Curl_req_init return void

Since it could not return error and therefore this change removes dead
code for the caller.

Spotted by CodeSonar.

Closes #13423
This commit is contained in:
Daniel Stenberg 2024-04-19 10:46:42 +02:00
parent 25236c6a80
commit 926fb00405
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 3 additions and 9 deletions

View file

@ -152,7 +152,7 @@ struct SingleRequest {
/**
* Initialize the state of the request for first use.
*/
CURLcode Curl_req_init(struct SingleRequest *req);
void Curl_req_init(struct SingleRequest *req);
/**
* The request is about to start. Record time and do a soft reset.