Re: [PATCH weston] simple-shm: Don't use ret variable in main() uninitialized

2012-10-18 Thread Ander Conselvan de Oliveira
On 10/17/2012 11:53 PM, Kristian Høgsberg wrote: 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... I'm not really sure, but it looks like http://gcc

Re: [PATCH weston] simple-shm: Don't use ret variable in main() uninitialized

2012-10-17 Thread Kristian Høgsberg
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(-) > >

[PATCH weston] simple-shm: Don't use ret variable in main() uninitialized

2012-10-17 Thread Ander Conselvan de Oliveira
--- 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 s