From 2385d826122d24b72cab2ce531ad538d87407622 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Hern=C3=A1ndez=20Hern=C3=A1ndez?= Date: Tue, 20 Sep 2022 23:40:35 -0500 Subject: remove unused variables --- client.h | 2 -- dwl.c | 1 - 2 files changed, 3 deletions(-) diff --git a/client.h b/client.h index a881131..4ecdd47 100644 --- a/client.h +++ b/client.h @@ -20,7 +20,6 @@ static inline Client * client_from_wlr_surface(struct wlr_surface *s) { struct wlr_xdg_surface *surface; - struct wlr_surface *parent; #ifdef XWAYLAND struct wlr_xwayland_surface *xsurface; @@ -41,7 +40,6 @@ client_from_wlr_surface(struct wlr_surface *s) static inline Client * client_get_parent(Client *c) { - Client *p; #ifdef XWAYLAND if (client_is_x11(c) && c->surface.xwayland->parent) return client_from_wlr_surface(c->surface.xwayland->parent->surface); diff --git a/dwl.c b/dwl.c index 270f8f0..6fbc771 100644 --- a/dwl.c +++ b/dwl.c @@ -922,7 +922,6 @@ createmon(struct wl_listener *listener, void *data) * monitor) becomes available. */ struct wlr_output *wlr_output = data; const MonitorRule *r; - Client *c; size_t i; Monitor *m = wlr_output->data = ecalloc(1, sizeof(*m)); m->wlr_output = wlr_output; -- cgit v1.2.3