projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2701eb3
)
xlib: silence unused var warning
author
Brian Paul
<brianp@vmware.com>
Mon, 25 Oct 2010 15:17:09 +0000
(09:17 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 25 Oct 2010 15:17:09 +0000
(09:17 -0600)
src/mesa/drivers/x11/fakeglx.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/x11/fakeglx.c
b/src/mesa/drivers/x11/fakeglx.c
index f1e62b6bd4f148c98f84c135909c0e867d8d7ef3..577e27d4da3fc8f808a440dd73724e84e4ce80a7 100644
(file)
--- a/
src/mesa/drivers/x11/fakeglx.c
+++ b/
src/mesa/drivers/x11/fakeglx.c
@@
-868,6
+868,7
@@
register_with_display(Display *dpy)
XExtCodes *c = XAddExtension(dpy);
ext = dpy->ext_procs; /* new extension is at head of list */
assert(c->extension == ext->codes.extension);
+ (void) c; /* silence warning */
ext->name = _mesa_strdup(extName);
ext->close_display = close_display_callback;
}