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

dev
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 sigaction sigint;
struct display *display; struct display *display;
struct window *window; struct window *window;
int ret; int ret = 0;
display = create_display(); display = create_display();
window = create_window(display, 250, 250); window = create_window(display, 250, 250);

Loading…
Cancel
Save