commit | 286ec68f8230853f6e19913022b97cd7b9dad0e8 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Aug 09 16:35:44 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Aug 09 16:35:44 2017 +0200 |
tree | c886f7e4ac999749952b52a1370998aaba60e0f2 | |
parent | ecfa18dda64db46f5e4285b9beef82ce09139bf2 [diff] |
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.