[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL v2 4/8] qga-win32: remove a redundancy code
From: |
Michael Roth |
Subject: |
[Qemu-devel] [PULL v2 4/8] qga-win32: remove a redundancy code |
Date: |
Tue, 18 Jul 2017 06:01:40 -0500 |
From: Peng Hao <address@hidden>
In the first line of run_agent,it has set ga_state = s,don't need
set ga_state = s again behind.
Signed-off-by: Peng Hao <address@hidden>
Signed-off-by: Michael Roth <address@hidden>
---
qga/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qga/main.c b/qga/main.c
index 405c129..dcd6104 100644
--- a/qga/main.c
+++ b/qga/main.c
@@ -1314,7 +1314,7 @@ static int run_agent(GAState *s, GAConfig *config, int
socket_activation)
ga_command_state_init(s, s->command_state);
ga_command_state_init_all(s->command_state);
json_message_parser_init(&s->parser, process_event);
- ga_state = s;
+
#ifndef _WIN32
if (!register_signal_handlers()) {
g_critical("failed to register signal handlers");
--
2.7.4
- [Qemu-devel] [PULL v2 0/8] qemu-ga patch queue, Michael Roth, 2017/07/18
- [Qemu-devel] [PULL v2 1/8] qga-win: fix installation on localized windows, Michael Roth, 2017/07/18
- [Qemu-devel] [PULL v2 2/8] qemu-ga: add missing libpcre to MSI build, Michael Roth, 2017/07/18
- [Qemu-devel] [PULL v2 8/8] test-qga: add test for guest-get-osinfo, Michael Roth, 2017/07/18
- [Qemu-devel] [PULL v2 5/8] qga: report error on keyfile dump error, Michael Roth, 2017/07/18
- [Qemu-devel] [PULL v2 7/8] test-qga: pass environemnt to qemu-ga, Michael Roth, 2017/07/18
- [Qemu-devel] [PULL v2 4/8] qga-win32: remove a redundancy code,
Michael Roth <=
- [Qemu-devel] [PULL v2 3/8] qemu-ga: check if utmpx.h is available on the system, Michael Roth, 2017/07/18
- [Qemu-devel] [PULL v2 6/8] qemu-ga: add guest-get-osinfo command, Michael Roth, 2017/07/18
- Re: [Qemu-devel] [PULL v2 0/8] qemu-ga patch queue, Peter Maydell, 2017/07/18