BUILD: debug: make gcc not complain on the ABORT_NOW() macro
authorWilly Tarreau <w@1wt.eu>
Tue, 14 May 2019 15:22:28 +0000 (17:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 14 May 2019 15:22:28 +0000 (17:22 +0200)
commita5e33a9b669785f0d0dbf9969b0d57880531b97b
tree5ad6f11f253136ce3512ef02fe3d44b7e0dbcff5
parentfa922f03a38923535ee44d37f89c96800708ce27
BUILD: debug: make gcc not complain on the ABORT_NOW() macro

On recent gcc versions with the null-deref checks, ABORT_NOW() rightfully
emits such a warning. But here it's on purpose. Simply changing the memory
address to 1 makes gcc happy.
include/common/debug.h