From aff7c334fa998cd72715c9ec168cd3333dfdcfd2 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Mon, 2 Feb 2015 13:03:23 -0600 Subject: [PATCH] screenshooter: remove useless cast Signed-off-by: Derek Foreman --- src/screenshooter.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/screenshooter.c b/src/screenshooter.c index c98e2f91..4e32db53 100644 --- a/src/screenshooter.c +++ b/src/screenshooter.c @@ -558,8 +558,7 @@ weston_recorder_destroy(struct weston_recorder *recorder) static void recorder_binding(struct weston_seat *seat, uint32_t time, uint32_t key, void *data) { - struct weston_seat *ws = (struct weston_seat *) seat; - struct weston_compositor *ec = ws->compositor; + struct weston_compositor *ec = seat->compositor; struct weston_output *output; struct wl_listener *listener = NULL; struct weston_recorder *recorder;