gallium/xlib: Silence unused variable warning.
authorVinson Lee <vlee@vmware.com>
Mon, 28 Dec 2009 06:18:18 +0000 (22:18 -0800)
committerVinson Lee <vlee@vmware.com>
Mon, 28 Dec 2009 06:18:18 +0000 (22:18 -0800)
src/gallium/state_trackers/glx/xlib/glx_api.c

index f2881b9a31e16b8ac0dc9be3a57c74e77204e198..228ac9a20e93ff1fcd5162763e50ad2bfba00a30 100644 (file)
@@ -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;
    }