mirror of
https://github.com/curl/curl.git
synced 2026-07-26 09:47:18 +03:00
asiohiper.cpp: No need to initialise members of ConnInfo
...as calloc() automatically clears the area of memory with zeros.
This commit is contained in:
parent
193ba7b46e
commit
a9eadc9f91
1 changed files with 0 additions and 2 deletions
|
|
@ -400,8 +400,6 @@ static void new_conn(char *url, GlobalInfo *g)
|
|||
CURLMcode rc;
|
||||
|
||||
conn = (ConnInfo *) calloc(1, sizeof(ConnInfo));
|
||||
memset(conn, 0, sizeof(ConnInfo));
|
||||
conn->error[0] = '\0';
|
||||
|
||||
conn->easy = curl_easy_init();
|
||||
if(!conn->easy)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue