[libvirt] [PATCH 10/18] event-test: make few switch statements future proof

Ján Tomko jtomko at redhat.com
Mon Apr 18 12:08:56 UTC 2016


On Thu, Apr 14, 2016 at 05:52:35PM +0200, Peter Krempa wrote:
> Make them return "uknown" for invalid values without breaking compiler
> checks to add new values.
> ---
>  examples/object-events/event-test.c | 226 +++++++++++++++++-------------------
>  1 file changed, 108 insertions(+), 118 deletions(-)
> 

ACK

Jan




More information about the libvir-list mailing list