diff options
author | João Valverde <j@v6e.pt> | 2021-11-12 11:14:39 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2021-11-14 20:58:14 +0000 |
commit | 6630fd52608ca31350798567f9fafcb24532adc8 (patch) | |
tree | 86be1198ae09ff49068814bd13a4624df5d8d8bf /cmake/modules | |
parent | 6587debb3b54724ef57af4570804aea86ae0b15b (diff) |
wsutil: Rename ws_return_ptr_if_null() macro
Rename to ws_return_val_if_null() because the name needs to be more
generic to indicate it should be used to return any kind of value,
not just pointers.
Increase the log level to something more appropriate because failing
any of these checks is considered to be a programming error.
Add the faulty variable name to the output message.
Add the macro ws_return_val_if_zero() for completeness.
Diffstat (limited to 'cmake/modules')
0 files changed, 0 insertions, 0 deletions