Mesa (mesa_7_7_branch): gallium/xlib: Silence unused variable warning.

Vinson Lee vlee at kemper.freedesktop.org
Sun Dec 27 22:19:20 PST 2009


Module: Mesa
Branch: mesa_7_7_branch
Commit: 9d3092d1344cac0dafaa4b39d09d987812751e40
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d3092d1344cac0dafaa4b39d09d987812751e40

Author: Vinson Lee <vlee at vmware.com>
Date:   Sun Dec 27 22:18:18 2009 -0800

gallium/xlib: Silence unused variable warning.

---

 src/gallium/state_trackers/glx/xlib/glx_api.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/state_trackers/glx/xlib/glx_api.c b/src/gallium/state_trackers/glx/xlib/glx_api.c
index f2881b9..228ac9a 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;
    }



More information about the mesa-commit mailing list