asiohiper.cpp: No need to initialise members of ConnInfo

...as calloc() automatically clears the area of memory with zeros.
This commit is contained in:
Steve Holme 2014-12-27 11:31:43 +00:00
parent 193ba7b46e
commit a9eadc9f91
1 changed files with 0 additions and 2 deletions

View File

@ -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)