]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: tools: avoid a build warning on gcc-4.8 in resolve_sym_name()
authorWilly Tarreau <w@1wt.eu>
Fri, 14 Mar 2025 17:28:32 +0000 (18:28 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 14 Mar 2025 17:30:30 +0000 (18:30 +0100)
commited75148ca0479c7f87e1c149f0b5f0c8dd50eb3c
tree0c52b50ecc3b52ca016111dd83d541278c056f53
parent4e09789644efa6c0dacfbd278618594590019a6e
BUILD: tools: avoid a build warning on gcc-4.8 in resolve_sym_name()

A build warning is emitted with gcc-4.8 in tools.c since commit
e920d73f59 ("MINOR: tools: improve symbol resolution without dl_addr")
because the compiler doesn't see that <size> is necessarily initialized.
Let's just preset it.
src/tools.c