[libvirt] [PATCH 2/7] remote: Fix usage of ATTRIBUTE_FALLTHROUGH

Peter Krempa pkrempa at redhat.com
Wed Apr 18 07:27:53 UTC 2018


On Tue, Apr 17, 2018 at 12:22:13 -0400, John Ferlan wrote:
> Move to within the #if since the #else portion ends with a goto
> and that raised concern by Coverity.
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/remote/remote_driver.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

ACK, although the code is correct as it is, it will just never fall
through, so this is again a false positive.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180418/76de12a9/attachment-0001.sig>


More information about the libvir-list mailing list