From: Gisle Vanem Date: Tue, 6 Sep 2005 15:58:09 +0000 (+0000) Subject: Fix warning about missing initializers. X-Git-Tag: curl-7_15_0~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9889a811dbe668d17f30959432a8038d0eaed95f;p=thirdparty%2Fcurl.git Fix warning about missing initializers. --- diff --git a/lib/hostthre.c b/lib/hostthre.c index ebd9e7dc58..6b358882f8 100644 --- a/lib/hostthre.c +++ b/lib/hostthre.c @@ -289,7 +289,7 @@ static unsigned __stdcall gethostbyname_thread (void *arg) * This allows us to use it even after the container gets destroyed * due to a resolver timeout. */ - struct thread_sync_data tsd = {0}; + struct thread_sync_data tsd = { 0,0,0,NULL }; if (!init_thread_sync_data(td, conn->async.hostname, &tsd)) { /* thread synchronization data initialization failed */ return -1; @@ -356,7 +356,7 @@ static unsigned __stdcall getaddrinfo_thread (void *arg) * This allows us to use it even after the container gets destroyed * due to a resolver timeout. */ - struct thread_sync_data tsd = {0}; + struct thread_sync_data tsd = { 0,0,0,NULL }; if (!init_thread_sync_data(td, conn->async.hostname, &tsd)) { /* thread synchronization data initialization failed */ return -1;