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

Re: [Xen-devel] [PATCH] libxl: 'valid_devs' may be used uninitialized



On Fri, 2015-05-15 at 19:39 +0200, Dario Faggioli wrote:
> On Fri, 2015-05-15 at 11:06 -0600, Charles Arnold wrote:
> > Using gcc 4.8 to compile with -Werror.
> > 
> > xl_cmdimpl.c:5493:8: error: 'valid_devs' may be used uninitialized in this 
> > function [-Werror=maybe-uninitialized]
> >       if (valid_devs == 0)
> >          ^
> > xl_cmdimpl.c:5455:9: note: 'valid_devs' was declared here
> >       int valid_devs;
> > 
> > Signed-off-by: Charles Arnold <carnold@xxxxxxxx>
> > 
> Reviewed-by: Dario Faggioli <dario.faggioli@xxxxxxxxxx>

Acked + applied, thanks



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.