commit | 775c665f20c695ad92fdb4318d5c77097ba15d7a | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Dec 21 10:27:18 2020 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Jan 06 14:41:01 2021 +0100 |
tree | 418cc701b1f2ad7d20fc94178f386e0617e3e51b | |
parent | 361e90eb459f9e9418c93c3cc2da5d6bc02c159d [diff] |
BUILD: plock: remove dead code that causes a warning in gcc 11 As Ilya reported in issue #998, gcc 11 complains about misleading code indentation which is in fact caused by dead assignments to zero after a loop which stops on zero. Let's clean both of these. (cherry picked from commit b1f54925fc17b00ddbe25e30c2207a8d68d47f34) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>