From: Laurent Vivier Date: Tue, 12 Nov 2019 10:50:55 +0000 (+0100) Subject: linux-user: fix missing break X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c0cb880153ddf0366af09caecb40cc14dcc1991e;p=qemu.git linux-user: fix missing break Reported by Coverity (CID 1407221) Fixes: a2d866827bd8 ("linux-user: Support for NETLINK socket options") cc: Josh Kunz Signed-off-by: Laurent Vivier Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20191112105055.32269-1-laurent@vivier.eu> --- diff --git a/linux-user/syscall.c b/linux-user/syscall.c index ab9d933e53..4e97bcf1e5 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -2632,6 +2632,7 @@ static abi_long do_getsockopt(int sockfd, int level, int optname, default: goto unimplemented; } + break; #endif /* SOL_NETLINK */ default: unimplemented: