aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/asiohiper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/asiohiper.cpp')
-rw-r--r--docs/examples/asiohiper.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/docs/examples/asiohiper.cpp b/docs/examples/asiohiper.cpp
index c4585af70..eb5cd0386 100644
--- a/docs/examples/asiohiper.cpp
+++ b/docs/examples/asiohiper.cpp
@@ -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)