On 12/12/2017 06:36 AM, Marc Hartmayer wrote:
Add typedef for the anonymous enum used for the authentication
methods
and remove the default case. This allows the usage of the type in a
switch statement and taking advantage of the compilers feature to
detect uncovered cases.
Signed-off-by: Marc Hartmayer <mhartmay(a)linux.vnet.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy(a)linux.vnet.ibm.com>
Reviewed-by: Stefan Zimmermann <stzi(a)linux.vnet.ibm.com>
---
daemon/remote.c | 4 +---
src/rpc/virnetserverservice.h | 4 ++--
2 files changed, 3 insertions(+), 5 deletions(-)
Reviewed-by: John Ferlan <jferlan(a)redhat.com>
John