AFAICS there is nothing that can fail directly in this function, so
change it to void.
Signed-off-by: Ran Benita <ran234@gmail.com>
surface_close
};
-static int surface_create(struct interactive_dpy *inter)
+static void surface_create(struct interactive_dpy *inter)
{
int width = 200, height = 200;
goto err_conn;
}
- ret = surface_create(&inter);
- if (ret) {
- fprintf(stderr, "Couldn't create a capture window\n");
- goto err_conn;
- }
+ surface_create(&inter);
test_disable_stdin_echo();
do {