From da580dbbe8833fbc49325bb0f7aadf05ea03b526 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 25 Oct 2010 09:17:09 -0600 Subject: xlib: silence unused var warning --- src/mesa/drivers/x11/fakeglx.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa') 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; } -- cgit v1.2.3