compositor: Initialize xserver variable

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

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
Scott Moreau 13 years ago committed by Pekka Paalanen
parent ec2507695f
commit e17f61008c
  1. 2
      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;

Loading…
Cancel
Save