From: Eduardo Habkost Date: Tue, 19 Apr 2016 19:55:28 +0000 (-0300) Subject: vl: Make display_remote a local variable X-Git-Tag: TizenStudio_2.0_p4.0~6^2~12^2~6^2~259^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1f0dfe02d47b14b04f2643828e2ee11665e1eb24;p=sdk%2Femulator%2Fqemu.git vl: Make display_remote a local variable The variable is used only inside main(), so it can be local. Signed-off-by: Eduardo Habkost --- diff --git a/vl.c b/vl.c index aaf9134..a44e155 100644 --- a/vl.c +++ b/vl.c @@ -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;