From: Brian Paul Date: Mon, 25 Oct 2010 15:17:09 +0000 (-0600) Subject: xlib: silence unused var warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da580dbbe8833fbc49325bb0f7aadf05ea03b526;p=mesa.git xlib: silence unused var warning --- 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; }