aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorCraig Barnes <craigbarnes@protonmail.com>2020-08-07 19:42:34 +0000
committerCraig Barnes <craigbarnes@protonmail.com>2020-08-07 19:42:34 +0000
commit7eb70a453b4ea797d9e85017c6deab6a7bc903a6 (patch)
tree265282027801e799b9a4a3afba074c868689b49e /terminal.c
parentMerge branch 'syslog' into master (diff)
Replace GCC "unused" and "format" attributes with portable macros
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c2
1 files changed, 1 insertions, 1 deletions
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