[libvirt] [PATCH v2 08/14] nwfilter: handle missing switch enum cases
John Ferlan
jferlan at redhat.com
Tue Feb 20 19:52:39 UTC 2018
On 02/20/2018 12:08 PM, Daniel P. Berrangé wrote:
> Ensure all enum cases are listed in switch statements, or cast away
> enum type in places where we don't wish to cover all cases.
>
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
> src/conf/nwfilter_conf.h | 4 ++--
> src/nwfilter/nwfilter_ebiptables_driver.c | 17 +++++++++++------
> src/nwfilter/nwfilter_learnipaddr.c | 6 +++++-
> 3 files changed, 18 insertions(+), 9 deletions(-)
>
Reviewed-by: John Ferlan <jferlan at redhat.com>
John
More information about the libvir-list
mailing list