BUILD: init: avoid a build warning on FreeBSD with USE_PROCCTL
authorWilly Tarreau <w@1wt.eu>
Fri, 8 Oct 2021 13:55:13 +0000 (15:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 8 Oct 2021 15:21:48 +0000 (17:21 +0200)
commit28345c66527cebb80d8639130566750a366a29a2
treeb901b3e6d1bb75704740af45b37962a77e786609
parentde361ad22e4a093f5dfd9b9233889c148af2f523
BUILD: init: avoid a build warning on FreeBSD with USE_PROCCTL

It was brought by a variable declared after some statements in commit
21185970c ("MINOR: proc: setting the process to produce a core dump on
FreeBSD."). It's worth noting that some versions of clang seem to ignore
-Wdeclaration-after-statement by default. No backport is needed.
src/haproxy.c