xlib: silence unused var warning
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user