BUILD/MINOR: cli: shut a minor gcc warning in "show fd"
authorWilly Tarreau <w@1wt.eu>
Wed, 9 Aug 2017 14:35:44 +0000 (16:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 9 Aug 2017 14:35:44 +0000 (16:35 +0200)
commit286ec68f8230853f6e19913022b97cd7b9dad0e8
treec886f7e4ac999749952b52a1370998aaba60e0f2
parentecfa18dda64db46f5e4285b9beef82ce09139bf2
BUILD/MINOR: cli: shut a minor gcc warning in "show fd"

Recent commit 7a4a0ac ("MINOR: cli: add a new "show fd" command") introduced
a warning when building at -O2 and above. The compiler doesn't know if a
variable's value might have changed between two if blocks so warns that some
values might be used uninitialized, which is not the case. Let's simply
initialize them to shut the warning.
src/cli.c