mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-28 04:12:17 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue