weston/desktop-shell
Pekka Paalanen 9350bfd916 desktop-shell: fix shell_output_destroy_move_layer unused variable
/home/pq/git/weston/desktop-shell/shell.c: In function ‘shell_output_destroy_move_layer’:
/home/pq/git/weston/desktop-shell/shell.c:4718:24: warning: unused variable ‘output’ [-Wunused-variable]
  struct weston_output *output = data;

Since the data pointer is not used for anything, decided to also set it
to NULL in the caller. This caused another variable to become unused.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Marius-Vlad <marius-cristian.vlad@nxp.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
2018-02-14 10:03:36 +02:00
..
exposay.c libweston: Use struct timespec for key events 2017-11-27 11:42:07 +02:00
input-panel.c libweston: introduce weston_output_from_resource() 2017-07-25 16:08:48 +03:00
shell.c desktop-shell: fix shell_output_destroy_move_layer unused variable 2018-02-14 10:03:36 +02:00
shell.h libweston: Use struct timespec for compositor time 2017-11-27 11:42:07 +02:00