compositor: Initialize xserver variable

This variable is used unitialized if --xserver is not passed to weston.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
Scott Moreau 2012-04-25 10:03:06 -06:00 committed by Pekka Paalanen
parent ec2507695f
commit e17f61008c

View File

@ -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;