On Wed, 25 Apr 2012 10:03:06 -0600
Scott Moreau <[email protected]> wrote:

> This variable is used unitialized if --xserver is not passed to weston.
> ---
>  src/compositor.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/compositor.c b/src/compositor.c
> index 768477d..e8ef946 100644
> --- a/src/compositor.c
> +++ b/src/compositor.c
> @@ -2639,7 +2639,7 @@ int main(int argc, char *argv[])
>       char *backend = NULL;
>       char *shell = NULL;
>       int32_t idle_time = 300;
> -     int32_t xserver;
> +     int32_t xserver = 0;
>       char *socket_name = NULL;
>       char *config_file;
>  

Ha! You beat me to it :-D


Excellent,
pq
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to