[libvirt] [PATCH v2 04/42] esx: handle missing switch enum cases
John Ferlan
jferlan at redhat.com
Mon Feb 19 18:42:34 UTC 2018
On 02/15/2018 11:43 AM, Daniel P. Berrangé wrote:
> Ensure all enum cases are listed in switch statements, or explicitly
> cast away enum type where we don't want to list all cases.
>
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
> src/esx/esx_driver.c | 1 +
> src/esx/esx_vi.c | 11 +++++++----
> src/esx/esx_vi_types.c | 9 +++++----
> 3 files changed, 13 insertions(+), 8 deletions(-)
>
Reviewed-by: John Ferlan <jferlan at redhat.com>
John
More information about the libvir-list
mailing list