]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: stream-int: avoid a build warning in dev mode in si_state_bit()
authorWilly Tarreau <w@1wt.eu>
Thu, 6 Jun 2019 14:38:40 +0000 (16:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 6 Jun 2019 14:42:08 +0000 (16:42 +0200)
commitad660e3f84c24435b9f883416568415819f137fa
tree65cb447e9e1f5f1eecbf856e308b184afebf9395
parent1ec9bb5b62d915b66d2f2b4cffbd28ae16b22311
BUILD: stream-int: avoid a build warning in dev mode in si_state_bit()

The BUG_ON() test emits a warning about an always-true comparison regarding
<state> which cannot be lower than zero. Let's get rid of it.
include/proto/stream_interface.h