Commit a9eadc9f authored by Steve Holme's avatar Steve Holme
Browse files

asiohiper.cpp: No need to initialise members of ConnInfo

...as calloc() automatically clears the area of memory with zeros.
parent 193ba7b4
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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)