diff options
author | Ran Benita <ran234@gmail.com> | 2016-03-15 20:42:21 +0200 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2016-03-15 20:45:05 +0200 |
commit | 4c24f7faa8bc71589538e8b07ea8b64c84c11b5c (patch) | |
tree | 735e391bcdcd37bad5c7bb152df358958bfd5632 /test | |
parent | 02628607e0315e9089bed4f32ccf4dacd063b755 (diff) | |
download | xorg-lib-libxkbcommon-4c24f7faa8bc71589538e8b07ea8b64c84c11b5c.tar.gz |
test: assert/ignore some warn_unused_result's
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/interactive-evdev.c | 4 | ||||
-rw-r--r-- | test/interactive-x11.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/interactive-evdev.c b/test/interactive-evdev.c index 04a347f..7fdc069 100644 --- a/test/interactive-evdev.c +++ b/test/interactive-evdev.c @@ -483,14 +483,14 @@ main(int argc, char *argv[]) sigaction(SIGTERM, &act, NULL); /* Instead of fiddling with termios.. */ - system("stty -echo"); + (void) system("stty -echo"); ret = loop(kbds); if (ret) goto err_stty; err_stty: - system("stty echo"); + (void) system("stty echo"); free_keyboards(kbds); err_compose: xkb_compose_table_unref(compose_table); diff --git a/test/interactive-x11.c b/test/interactive-x11.c index d720004..34ad654 100644 --- a/test/interactive-x11.c +++ b/test/interactive-x11.c @@ -372,9 +372,9 @@ main(int argc, char *argv[]) goto err_core_kbd; } - system("stty -echo"); + (void) system("stty -echo"); ret = loop(conn, &core_kbd); - system("stty echo"); + (void) system("stty echo"); err_core_kbd: deinit_kbd(&core_kbd); |