From b3f51e39f80c2a8ec44184d95bd3719ce5ba137e Mon Sep 17 00:00:00 2001 From: Louis Taylor Date: Tue, 27 Nov 2018 20:26:02 +0000 Subject: [PATCH] view_at: remove unused variable --- tinywl/tinywl.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tinywl/tinywl.c b/tinywl/tinywl.c index bf98495d..6a63e03d 100644 --- a/tinywl/tinywl.c +++ b/tinywl/tinywl.c @@ -251,10 +251,6 @@ static bool view_at(struct tinywl_view *view, double view_sy = ly - view->y; struct wlr_surface_state *state = &view->xdg_surface->surface->current; - struct wlr_box box = { - .x = 0, .y = 0, - .width = state->width, .height = state->height, - }; double _sx, _sy; struct wlr_surface *_surface = NULL;