simple-shm: Don't use ret variable in main() uninitialized
This commit is contained in:
parent
3146756adf
commit
d0f24cf6ec
@ -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…
Reference in New Issue
Block a user