BUILD: plock: remove dead code that causes a warning in gcc 11
authorWilly Tarreau <w@1wt.eu>
Mon, 21 Dec 2020 09:27:18 +0000 (10:27 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 21 Dec 2020 09:27:18 +0000 (10:27 +0100)
commitb1f54925fc17b00ddbe25e30c2207a8d68d47f34
tree7d9affeff47af3576f29a423828ce027a56a0fd4
parent79d2e7bbbd56455f5f73c030df41e8e1ed621df4
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.
include/import/plock.h