diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2016-04-19 16:55:28 -0300 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2016-05-20 14:28:54 -0300 |
commit | 1f0dfe02d47b14b04f2643828e2ee11665e1eb24 (patch) | |
tree | 6b229245bb6439c829e1c9c6a9d058dd1455b00b /vl.c | |
parent | 0cb48c4678af6e1fedbb48c52e5baa01f7266f54 (diff) | |
download | qemu-1f0dfe02d47b14b04f2643828e2ee11665e1eb24.tar.gz qemu-1f0dfe02d47b14b04f2643828e2ee11665e1eb24.tar.bz2 qemu-1f0dfe02d47b14b04f2643828e2ee11665e1eb24.zip |
vl: Make display_remote a local variable
The variable is used only inside main(), so it can be local.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -131,7 +131,6 @@ const char *bios_name = NULL; enum vga_retrace_method vga_retrace_method = VGA_RETRACE_DUMB; int request_opengl = -1; int display_opengl; -static int display_remote; const char* keyboard_layout = NULL; ram_addr_t ram_size; const char *mem_path = NULL; @@ -2972,6 +2971,7 @@ int main(int argc, char **argv, char **envp) bool userconfig = true; bool nographic = false; DisplayType display_type = DT_DEFAULT; + int display_remote = 0; const char *log_mask = NULL; const char *log_file = NULL; char *trace_file = NULL; |