]> Git Repo - qemu.git/commitdiff
linux-user: fix missing break
authorLaurent Vivier <[email protected]>
Tue, 12 Nov 2019 10:50:55 +0000 (11:50 +0100)
committerLaurent Vivier <[email protected]>
Tue, 12 Nov 2019 16:05:24 +0000 (17:05 +0100)
Reported by Coverity (CID 1407221)
Fixes: a2d866827bd8 ("linux-user: Support for NETLINK socket options")
cc: Josh Kunz <[email protected]>
Signed-off-by: Laurent Vivier <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <20191112105055[email protected]>

linux-user/syscall.c

index ab9d933e53af357b2a3a45078ff69b3a27474eaf..4e97bcf1e5a9d68111d26e7842ee3c34bab339f0 100644 (file)
@@ -2632,6 +2632,7 @@ static abi_long do_getsockopt(int sockfd, int level, int optname,
         default:
             goto unimplemented;
         }
+        break;
 #endif /* SOL_NETLINK */
     default:
     unimplemented:
This page took 0.035705 seconds and 4 git commands to generate.