mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-17 05:33:52 -04:00
Replace GCC "unused" and "format" attributes with portable macros
This commit is contained in:
parent
f952d5a305
commit
7eb70a453b
7 changed files with 18 additions and 10 deletions
|
|
@ -1032,7 +1032,7 @@ fdm_shutdown(struct fdm *fdm, int fd, int events, void *data)
|
|||
wayl_win_destroy(term->window);
|
||||
term->window = NULL;
|
||||
|
||||
struct wayland *wayl __attribute__((unused)) = term->wl;
|
||||
struct wayland *wayl = term->wl;
|
||||
|
||||
/*
|
||||
* Normally we'd get unmapped when we destroy the Wayland
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue