commit | 237f8aef41a2607cfa80b5c80c1a6e049c3114dc | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jun 06 16:40:43 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jun 06 16:42:14 2019 +0200 |
tree | 56fda7f6807aa7296c70455a4b24f043d6b2f582 | |
parent | ad660e3f84c24435b9f883416568415819f137fa [diff] |
BUILD: peers: fix a build warning about an incorrect intiialization Just got this one : src/peers.c:528:13: warning: missing braces around initializer [-Wmissing-braces] src/peers.c:528:13: warning: (near initialization for 'cde.key') [-Wmissing-braces] Indeed, this struct contains two structs so scalar zero is not a valid value for the first field. Let's just leave it as an empty struct since it was the purpose.