BUILD: thread: fix build warnings with older gcc compilers

The "{ 0 }" form to initialize an empty structure triggers build warnings
on gcc 4.8, let's use the more common "{ }" instead.
This commit is contained in:
Willy Tarreau 2023-02-04 10:49:01 +01:00
parent f2f08f88ef
commit 15c8428060

View File

@ -1234,7 +1234,7 @@ int thread_map_to_groups()
*/
int thread_resolve_group_mask(struct thread_set *ts, int defgrp, char **err)
{
struct thread_set new_ts = { 0 };
struct thread_set new_ts = { };
ulong mask, imask;
uint g;