commit | a79db30c63e3c07995a9a55a6f0f9ca53d94a977 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Feb 25 09:10:26 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Feb 25 11:55:47 2022 +0100 |
tree | 43ab9be5c65f6047ca493a3ffa1167d1a6808bcd | |
parent | 305cfbde43d0e8c0529aa61b03845dc86e35ac14 [diff] |
DEBUG: make the _BUG_ON() macro return the condition By doing so it now becomes an expression and will allow for example to use WARN_ON() in tests, for example: if (WARN_ON(cond)) return NULL;