glx: Fix unused-variable warning with macOS build.
../src/glx/tests/indirect_api.cpp:52:20: warning: unused variable 'nil' [-Wunused-variable]
static const void *nil = 0;
^
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12607>
This commit is contained in:
@@ -49,7 +49,9 @@
|
||||
#include "glapi/glapi.h"
|
||||
#include "../../mesa/main/dispatch.h"
|
||||
|
||||
#ifndef GLX_USE_APPLEGL
|
||||
static const void *nil = 0;
|
||||
#endif
|
||||
|
||||
#define EXTRA_DISPATCH 111
|
||||
|
||||
|
||||
Reference in New Issue
Block a user