Skip to content

Commit

Permalink
remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
sevz17 committed Sep 21, 2022
1 parent 31106ef commit 2385d82
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions client.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand Down
1 change: 0 additions & 1 deletion dwl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2385d82

Please sign in to comment.