diff options
| author | Daniel Stone <daniels@collabora.com> | 2020-01-13 13:51:43 +0000 |
|---|---|---|
| committer | Daniel Stone <daniels@collabora.com> | 2020-01-13 13:51:43 +0000 |
| commit | 89a38bfaa40147d65e0240f24e1619a24cc38dd7 (patch) | |
| tree | 07f4ce7c42f25a44fdb3175de4cef48e5aef812c /tests | |
| parent | Add Meson build (diff) | |
| download | wayland-89a38bfaa40147d65e0240f24e1619a24cc38dd7.tar wayland-89a38bfaa40147d65e0240f24e1619a24cc38dd7.tar.gz wayland-89a38bfaa40147d65e0240f24e1619a24cc38dd7.tar.bz2 wayland-89a38bfaa40147d65e0240f24e1619a24cc38dd7.tar.lz wayland-89a38bfaa40147d65e0240f24e1619a24cc38dd7.tar.xz wayland-89a38bfaa40147d65e0240f24e1619a24cc38dd7.tar.zst wayland-89a38bfaa40147d65e0240f24e1619a24cc38dd7.zip | |
display-test: Remove unused variables
At higher warning levels, GCC complains about unused variables.
Remove two completely unused, and one set-but-not-used, variables from
display-test to make it happy.
Signed-off-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/display-test.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/display-test.c b/tests/display-test.c index 7b2647f..533916c 100644 --- a/tests/display-test.c +++ b/tests/display-test.c @@ -1455,7 +1455,6 @@ send_overflow_client(void *data) TEST(send_overflow_disconnection) { struct display *d; - struct client_info *c; char tmp; int rpipe[2]; int i; @@ -1464,7 +1463,7 @@ TEST(send_overflow_disconnection) d = display_create(); - c = client_create(d, send_overflow_client, &rpipe); + (void) client_create(d, send_overflow_client, &rpipe); /* Close write end of the pipe, so that the later read() call gets * interrupted if the client dies */ @@ -1578,7 +1577,6 @@ global_remove_after_client(void *data) struct client *c = client_connect(); struct wl_registry *registry; uint32_t global_id = 0; - struct wl_seat *seat; int ret; registry = wl_display_get_registry(c->wl_display); @@ -1598,7 +1596,6 @@ TEST(global_remove) { struct display *d; struct wl_global *global; - int i; d = display_create(); |
