vt_source is never added to an event loop in this launcher, but
it's potentially removed.
Let's just remove the variable entirely.
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
struct wl_event_source *source;
int kb_mode, tty, drm_fd;
- struct wl_event_source *vt_source;
};
static int
wl_event_source_remove(launcher->source);
} else {
launcher_weston_launch_restore(&launcher->base);
- wl_event_source_remove(launcher->vt_source);
}
if (launcher->tty >= 0)