mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 15:17:01 +02:00
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:
parent
f2f08f88ef
commit
15c8428060
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user