projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1f64fa
)
gallium/xlib: Silence unused variable warning.
author
Vinson Lee
<vlee@vmware.com>
Mon, 28 Dec 2009 06:18:18 +0000
(22:18 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Mon, 28 Dec 2009 06:18:18 +0000
(22:18 -0800)
src/gallium/state_trackers/glx/xlib/glx_api.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/glx/xlib/glx_api.c
b/src/gallium/state_trackers/glx/xlib/glx_api.c
index f2881b9a31e16b8ac0dc9be3a57c74e77204e198..228ac9a20e93ff1fcd5162763e50ad2bfba00a30 100644
(file)
--- a/
src/gallium/state_trackers/glx/xlib/glx_api.c
+++ b/
src/gallium/state_trackers/glx/xlib/glx_api.c
@@
-644,6
+644,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;
ext->name = _mesa_strdup(extName);
ext->close_display = close_display_callback;
}