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;
--
1.7.4.1
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel