summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-12-27 22:18:18 -0800
committerVinson Lee <vlee@vmware.com>2009-12-27 22:18:18 -0800
commit9d3092d1344cac0dafaa4b39d09d987812751e40 (patch)
treec494daf1a39950ed2616111f721835e614647aef /src
parentd1f64fa72f7e2362fa68f9cc8dc76be06fc846b4 (diff)
gallium/xlib: Silence unused variable warning.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/glx/xlib/glx_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/glx_api.c b/src/gallium/state_trackers/glx/xlib/glx_api.c
index f2881b9a31..228ac9a20e 100644
--- 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;
}