simple-shm: Don't use ret variable in main() uninitialized

This commit is contained in:
Ander Conselvan de Oliveira 2012-10-17 13:49:08 +03:00 committed by Kristian Høgsberg
parent 3146756adf
commit d0f24cf6ec

View File

@ -328,7 +328,7 @@ main(int argc, char **argv)
struct sigaction sigint;
struct display *display;
struct window *window;
int ret;
int ret = 0;
display = create_display();
window = create_window(display, 250, 250);