]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
qga: Open brace '{' following struct go on the same
authorAlexChen <alex.chen@huawei.com>
Mon, 26 Oct 2020 09:05:46 +0000 (17:05 +0800)
committerMichael Roth <michael.roth@amd.com>
Wed, 17 Mar 2021 01:21:47 +0000 (20:21 -0500)
Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: AlexChen <alex.chen@huawei.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Michael Roth <michael.roth@amd.com>
qga/main.c

index 560490467b3ac9d45e955a378f2676f80cb1fbb7..20db0058db7db429ef53ebe20f2286858d140190 100644 (file)
@@ -686,8 +686,7 @@ DWORD WINAPI service_ctrl_handler(DWORD ctrl, DWORD type, LPVOID data,
     DWORD ret = NO_ERROR;
     GAService *service = &ga_state->service;
 
-    switch (ctrl)
-    {
+    switch (ctrl) {
         case SERVICE_CONTROL_STOP:
         case SERVICE_CONTROL_SHUTDOWN:
             quit_handler(SIGTERM);