summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/fakeglx.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-10-25 09:17:09 -0600
committerBrian Paul <[email protected]>2010-10-25 09:17:09 -0600
commitda580dbbe8833fbc49325bb0f7aadf05ea03b526 (patch)
treecd80fdc6472efe959bc4bf63ed04efa73d8d4c1b /src/mesa/drivers/x11/fakeglx.c
parent2701eb342b358da638b8c0f281c791c2b16b300b (diff)
xlib: silence unused var warning
Diffstat (limited to 'src/mesa/drivers/x11/fakeglx.c')
-rw-r--r--src/mesa/drivers/x11/fakeglx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c
index f1e62b6bd4f..577e27d4da3 100644
--- 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;
}