]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
linux-user: fix missing break
authorLaurent Vivier <laurent@vivier.eu>
Tue, 12 Nov 2019 10:50:55 +0000 (11:50 +0100)
committerLaurent Vivier <laurent@vivier.eu>
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 <jkz@google.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20191112105055.32269-1-laurent@vivier.eu>

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: