[libvirt] [PATCH 04/14] rpc: Add typedef for the anonymous enum used for authentication methods
John Ferlan
jferlan at redhat.com
Fri Dec 15 12:23:41 UTC 2017
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 at linux.vnet.ibm.com>
> Reviewed-by: Boris Fiuczynski <fiuczy at linux.vnet.ibm.com>
> Reviewed-by: Stefan Zimmermann <stzi at 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 at redhat.com>
John
More information about the libvir-list
mailing list