commit | 43a686da97c2d5f01276b8b8a02762b8d8c1effc | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Nov 18 15:50:25 2019 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Nov 20 14:21:56 2019 +0100 |
tree | f3283faf46dd07d4c51d9e841c7c4567bf3ae9ae | |
parent | f737410c8cb5c2f4b0bde906a69c63490f8f2b16 [diff] |
BUILD: debug: Avoid warnings in dev mode with -02 because of some BUG_ON tests Some BUG_ON() tests emit a warning because of a potential null pointer dereference on an HTX block. In fact, it should never happen, but now, GCC is happy. This patch must be backported to 2.0. (cherry picked from commit ea009736d8f25be6c79aff0bed3a994eef87f3fd) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>