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>
TEST(send_overflow_disconnection)
{
struct display *d;
- struct client_info *c;
char tmp;
int rpipe[2];
int i;
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 */
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);
{
struct display *d;
struct wl_global *global;
- int i;
d = display_create();