From: Vinson Lee Date: Mon, 28 Dec 2009 06:18:18 +0000 (-0800) Subject: gallium/xlib: Silence unused variable warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9d3092d1344cac0dafaa4b39d09d987812751e40;p=mesa.git gallium/xlib: Silence unused variable warning. --- diff --git a/src/gallium/state_trackers/glx/xlib/glx_api.c b/src/gallium/state_trackers/glx/xlib/glx_api.c index f2881b9a31e..228ac9a20e9 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; }