diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-02-29 14:29:58 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-02-29 14:29:58 +0000 |
| commit | 33744ebe63545540b583448f3d6b8aebc791911f (patch) | |
| tree | 4502d1ba1b64edec8dde5fe6857392b355735adc /input.c | |
| parent | input: cleanup (diff) | |
input: fix 'unused variable' warning (release builds)
Diffstat (limited to 'input.c')
| -rw-r--r-- | input.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -743,7 +743,8 @@ wl_pointer_leave(void *data, struct wl_pointer *wl_pointer, } else { if (surface != NULL) { /* Sway 1.4 sends this event with a NULL surface when we destroy the window */ - const struct wl_window *win = wl_surface_get_user_data(surface); + const struct wl_window *win __attribute__((unused)) + = wl_surface_get_user_data(surface); assert(old_moused == win->term); } old_moused->active_surface = TERM_SURF_NONE; |
