Module: Mesa Branch: master Commit: 2e15f0c86066b6f455c817b81e59bdca1afb0ee2 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e15f0c86066b6f455c817b81e59bdca1afb0ee2
Author: Brian Paul <[email protected]> Date: Thu Nov 10 15:54:15 2011 -0700 egl: silence unused var warning --- src/egl/main/egldisplay.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/egl/main/egldisplay.c b/src/egl/main/egldisplay.c index 39ba883..898a60a 100644 --- a/src/egl/main/egldisplay.c +++ b/src/egl/main/egldisplay.c @@ -157,6 +157,8 @@ _eglNativePlatformDetectNativeDisplay(EGLNativeDisplayType nativeDisplay) if (_eglPointerIsDereferencable(nativeDisplay)) { void *first_pointer = *(void **) nativeDisplay; + (void) first_pointer; /* silence unused var warning */ + #ifdef HAVE_WAYLAND_PLATFORM /* wl_display is a wl_proxy, which is a wl_object. * wl_object's first element points to the interfacetype. */ _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
