From: Laurent Vivier Date: Tue, 12 Nov 2019 10:50:55 +0000 (+0100) Subject: linux-user: fix missing break X-Git-Tag: v4.2.0-rc1~1^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c0cb880153ddf0366af09caecb40cc14dcc1991e;p=thirdparty%2Fqemu.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 ab9d933e53a..4e97bcf1e5a 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: