Re: [libvirt] [PATCH v2 07/14] lxc: handle missing switch enum cases

2018-02-21 Thread Daniel P . Berrangé
On Tue, Feb 20, 2018 at 02:33:56PM -0500, John Ferlan wrote: > > > 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é

Re: [libvirt] [PATCH v2 07/14] lxc: handle missing switch enum cases

2018-02-20 Thread John Ferlan
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é > --- > src/lxc/lxc_container.c | 8 >

[libvirt] [PATCH v2 07/14] lxc: handle missing switch enum cases

2018-02-20 Thread Daniel P . Berrangé
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é --- src/lxc/lxc_container.c | 8 src/lxc/lxc_controller.c | 8 +++- src/lxc/lxc_driver.c |