mirror of
https://github.com/curl/curl.git
synced 2026-06-01 23:04:15 +03:00
Fix warning about missing initializers.
This commit is contained in:
parent
9e38d882b9
commit
9889a811db
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue