diff options
author | Vinson Lee <[email protected]> | 2009-12-27 22:18:18 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2009-12-27 22:18:18 -0800 |
commit | 9d3092d1344cac0dafaa4b39d09d987812751e40 (patch) | |
tree | c494daf1a39950ed2616111f721835e614647aef /src/gallium/state_trackers | |
parent | d1f64fa72f7e2362fa68f9cc8dc76be06fc846b4 (diff) |
gallium/xlib: Silence unused variable warning.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | 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 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; } |