From d0f24cf6ec1cb5a9a55bb7dcc13fc03d5c74154e Mon Sep 17 00:00:00 2001 From: Ander Conselvan de Oliveira Date: Wed, 17 Oct 2012 13:49:08 +0300 Subject: [PATCH] simple-shm: Don't use ret variable in main() uninitialized --- clients/simple-shm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/simple-shm.c b/clients/simple-shm.c index d03bed6c..a09ec910 100644 --- a/clients/simple-shm.c +++ b/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);