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:
Vinson Lee
2021-08-28 00:02:50 -07:00
committed by Marge Bot
parent 33630090a2
commit 498d93f3dd
+2
View File
@@ -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