提交 1f0dfe02 编写于 作者: E Eduardo Habkost

vl: Make display_remote a local variable

The variable is used only inside main(), so it can be local.
Signed-off-by: NEduardo Habkost <ehabkost@redhat.com>
上级 0cb48c46
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册