projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
beef101
)
egl: silence unused var warning
author
Brian Paul
<brianp@vmware.com>
Thu, 10 Nov 2011 22:54:15 +0000
(15:54 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 10 Nov 2011 23:00:46 +0000
(16:00 -0700)
src/egl/main/egldisplay.c
patch
|
blob
|
history
diff --git
a/src/egl/main/egldisplay.c
b/src/egl/main/egldisplay.c
index 39ba8830cdadb12927c8d84effb1c26007c08373..898a60a3fd9f8394270bb31a57f35dc1f2fae894 100644
(file)
--- 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. */