util/debug: move null checks out of debug message macro
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 19 Apr 2023 13:20:36 +0000 (09:20 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Apr 2023 02:52:16 +0000 (02:52 +0000)
commita6c8d74cd7ab5f761eb443611870acc3414f5a7e
tree44edf901318e61a0d5b9542d398dc79c2c45bd95
parent390947128846a5f6b6db4dcef93ffaf464355a67
util/debug: move null checks out of debug message macro

this otherwise causes tons of compiler warnings

cc: mesa-stable

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22196>
src/util/u_debug.c
src/util/u_debug.h