Re: [PATCH] wayland-server: Fix a uninitialized warning from clang

2013-09-11 Thread Kristian Høgsberg
On Wed, Aug 28, 2013 at 05:43:34PM -0500, Aaron Faanes wrote: > This warning is unnecessary, since the pointer in question is only used > for pointer arithmetic, but setting it explicitly to NULL doesn't hurt. This is more than just a warning, reading an uninitialized value is undefined and not gu

[PATCH] wayland-server: Fix a uninitialized warning from clang

2013-08-28 Thread Aaron Faanes
This warning is unnecessary, since the pointer in question is only used for pointer arithmetic, but setting it explicitly to NULL doesn't hurt. --- src/wayland-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland-server.c b/src/wayland-server.c index a1d69e5..d7