
19 Feb
2018
19 Feb
'18
7:35 p.m.
On 02/15/2018 11:43 AM, Daniel P. Berrangé wrote:
Ensure all enum cases are listed in switch statements.
and in some cases force an error if something unexpected is found. [not necessary to add, especially since it's repeatable throughout the series so far, but figured I'd note it at least B-)]
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> --- src/util/virconf.c | 13 ++++++++++++- src/util/virfirewall.c | 7 +++++-- src/util/virlog.c | 10 +++++++++- src/util/virnetdevvportprofile.c | 11 ++++++++++- 4 files changed, 36 insertions(+), 5 deletions(-)
Reviewed-by: John Ferlan <jferlan@redhat.com> John