[libvirt] [PATCH] virt-aa-helper: Fix permissions for vhost-user socket files

Michał Dubiel md at semihalf.com
Mon Jun 22 10:09:50 UTC 2015


>
> Besides by changing from :
>
>     } else {
>         if ((x) == -1))
>             return -1;
>
> to
>
>     } else if ((x) == -1) {
>             return -1;
>
> Everything else inside the else if after the return -1 becomes dead


Yes it becomes dead, but there is nothing left in the 'else if' block.

Regards,
Michal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150622/8e66095c/attachment-0001.htm>


More information about the libvir-list mailing list