Re: [PATCH 04/14] rpc: Add typedef for the anonymous enum used for authentication methods

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxxxxxxxxxxx>
> Reviewed-by: Boris Fiuczynski <fiuczy@xxxxxxxxxxxxxxxxxx>
> Reviewed-by: Stefan Zimmermann <stzi@xxxxxxxxxxxxxxxxxx>
> ---
>  daemon/remote.c               | 4 +---
>  src/rpc/virnetserverservice.h | 4 ++--
>  2 files changed, 3 insertions(+), 5 deletions(-)
> 

Reviewed-by: John Ferlan <jferlan@xxxxxxxxxx>

John

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux