mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-20 08:18:21 +02:00
xlib: silence unused var warning
This commit is contained in:
parent
2701eb342b
commit
da580dbbe8
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue