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

Ander Conselvan de Oliveira 12 years ago committed by Kristian Høgsberg
parent 3146756adf
commit d0f24cf6ec
  1. 2
      clients/simple-shm.c

@ -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);

Loading…
Cancel
Save