On Wed, Oct 17, 2012 at 01:49:08PM +0300, Ander Conselvan de Oliveira wrote:
Argh, thanks. I don't get a warning about ret being unused, and I did check the -Wall was in the compiler flags... Kristian > --- > 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 d03bed6..a09ec91 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); > -- > 1.7.9.5 > > _______________________________________________ > wayland-devel mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/wayland-devel _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
