]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: stats: fix missing '=' sign in array declaration
authorWilly Tarreau <w@1wt.eu>
Fri, 11 Oct 2019 14:31:46 +0000 (16:31 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 11 Oct 2019 14:39:00 +0000 (16:39 +0200)
commit6d4897eec08c32410e71f6c554053a583053747c
tree4cfb2ba4d02b5c11f1391f5c7c4750c4f9e6d340
parent19920d6fc93c6824923fc4231b8227e0ee9a78ee
BUILD: stats: fix missing '=' sign in array declaration

I introduced this mistake when adding the description for the stats
metrics, it's even amazing it built and worked at all! This was
reported by Travis CI on non-GNU platforms :

src/stats.c:92:39: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
    [INF_NAME]               { .name = "Name",                        .desc = "Product name" },
                             ^
                             =
No backport is needed.
src/stats.c