[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v6] libxl: introduce LIBXL_DOMAIN_TYPE_INVALID
On Wed, 2012-06-06 at 14:42 +0100, Dario Faggioli wrote: > To avoid recent gcc complaining about: > libxl.c: In function 'libxl_primary_console_exec': > libxl.c:1233:9: error: case value '4294967295' not in enumerated type > 'libxl_domain_type' [-Werror=switch] > > Also: > - have all the call sites of libxl__domain_type() return with error in > case the function returns LIBXL_DOMAIN_TYPE_INVALID; > - adjust all other code segments where -Wswitch makes would claim that > LIBXL_DOMAIN_TYPE_INVALID is not handled by adding a "default: abort();" > clause. > > Signed-off-by: Dario Faggioli <dario.faggioli@xxxxxxxxxx> > Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx> Committed with the two changes I mentioned. Please check I haven't made a mess of things... Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |