diff options
author | Scott Moreau <oreaus@gmail.com> | 2012-04-25 10:03:06 -0600 |
---|---|---|
committer | Pekka Paalanen <ppaalanen@gmail.com> | 2012-04-26 15:56:06 +0300 |
commit | e17f61008c693a0ab360787cd28d1735e7d118eb (patch) | |
tree | ac60f0eb1b2566eaa40fce14edcd8c129ba2e693 | |
parent | ec2507695f92168590704ba234af23436a8720a7 (diff) |
compositor: Initialize xserver variable
This variable is used unitialized if --xserver is not passed to weston.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
-rw-r--r-- | src/compositor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor.c b/src/compositor.c index 6ce10a4..4e4c66d 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -2640,7 +2640,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; |