[libvirt] [PATCH] util: netdevbridge: Refactor error handling in virNetDevBridgeCreate
John Ferlan
jferlan at redhat.com
Wed Jun 28 12:49:35 UTC 2017
On 06/28/2017 08:23 AM, Peter Krempa wrote:
> Replace the switch statement with a simpler if statement. This also
> removes the fallthrough path that coverity was complaining about.
> ---
> src/util/virnetdevbridge.c | 23 +++++++++--------------
> 1 file changed, 9 insertions(+), 14 deletions(-)
>
Reviewed-by: John Ferlan <jferlan at redhat.com>
John
More information about the libvir-list
mailing list