diff options
author | Eric Engestrom <[email protected]> | 2019-10-31 01:26:05 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-12-27 22:09:16 +0000 |
commit | ff3a2576a45e012b1cd8fbf73b9967083d6fce0e (patch) | |
tree | 1a58e0d34358811a303cf1687e8b4f0bdc9b8887 /src/gallium/state_trackers/nine | |
parent | 51569e525afc5e7173f12b0a3f1ba0e92425407f (diff) |
nine: fix empty-body-issues
Signed-off-by: Eric Engestrom <[email protected]>
Fixes: 8d43e2b2ded0fe3c82d4 ("meson: add -Werror=empty-body to disallow `if(x);`")
Reviewed-By: Timur Kristóf <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine')
-rw-r--r-- | src/gallium/state_trackers/nine/nine_debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/nine_debug.h b/src/gallium/state_trackers/nine/nine_debug.h index 905568d0d17..5ecc37a6f5a 100644 --- a/src/gallium/state_trackers/nine/nine_debug.h +++ b/src/gallium/state_trackers/nine/nine_debug.h @@ -116,7 +116,7 @@ _nine_stub( const char *file, #define user_warn(x) \ if ((x)) { DBG_FLAG(DBG_USER, "User warning: `%s'\n", #x); } #else -#define user_warn(x) +#define user_warn(x) do {} while(0) #endif /* nonfatal assert */ |