From 7eb70a453b4ea797d9e85017c6deab6a7bc903a6 Mon Sep 17 00:00:00 2001 From: Craig Barnes Date: Fri, 7 Aug 2020 20:42:34 +0100 Subject: Replace GCC "unused" and "format" attributes with portable macros --- terminal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'terminal.c') diff --git a/terminal.c b/terminal.c index 55ea840e..900f8fae 100644 --- a/terminal.c +++ b/terminal.c @@ -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 -- cgit v1.3