mirror of
https://github.com/curl/curl.git
synced 2026-08-24 23:43:40 +03:00
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:
parent
25236c6a80
commit
926fb00405
3 changed files with 3 additions and 9 deletions
|
|
@ -40,10 +40,9 @@
|
|||
#include "curl_memory.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
CURLcode Curl_req_init(struct SingleRequest *req)
|
||||
void Curl_req_init(struct SingleRequest *req)
|
||||
{
|
||||
memset(req, 0, sizeof(*req));
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
||||
CURLcode Curl_req_soft_reset(struct SingleRequest *req,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue