mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
vscclient: remove unnecessary use of uninitialized variable
Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
ddd0bd480f
commit
69fded480e
1 changed files with 1 additions and 2 deletions
|
|
@ -645,7 +645,6 @@ main(
|
||||||
GIOChannel *channel_stdin;
|
GIOChannel *channel_stdin;
|
||||||
char *qemu_host;
|
char *qemu_host;
|
||||||
char *qemu_port;
|
char *qemu_port;
|
||||||
VSCMsgHeader mhHeader;
|
|
||||||
|
|
||||||
VCardEmulOptions *command_line_options = NULL;
|
VCardEmulOptions *command_line_options = NULL;
|
||||||
|
|
||||||
|
|
@ -754,7 +753,7 @@ main(
|
||||||
.magic = VSCARD_MAGIC,
|
.magic = VSCARD_MAGIC,
|
||||||
.capabilities = {0}
|
.capabilities = {0}
|
||||||
};
|
};
|
||||||
send_msg(VSC_Init, mhHeader.reader_id, &init, sizeof(init));
|
send_msg(VSC_Init, 0, &init, sizeof(init));
|
||||||
|
|
||||||
g_main_loop_run(loop);
|
g_main_loop_run(loop);
|
||||||
g_main_loop_unref(loop);
|
g_main_loop_unref(loop);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue