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

Re: [Xen-devel] staging: libxl compile error in libxl__domain_save



On Sat, Feb 27, 2016 at 01:47:08PM +0000, Wei Liu wrote:
> On Sat, Feb 27, 2016 at 09:14:26AM +0100, Olaf Hering wrote:
> > 
> > Current staging fails to compile:
> > 
> > [  276s] libxl_dom_save.c: In function 'libxl__domain_save':
> > [  276s] libxl_dom_save.c:328:9: error: 'rc' may be used uninitialized in 
> > this function
> 
> Thanks for the report. This looks like a simple enough bug to fix. I
> will prepare a patch shortly.
> 

Hrm... Strange enough when I add -Wmaybe-uninitialized and
-Wuninitialized to my build environment, gcc doesn't complain about this
one.

Wei.

> Wei.
> 
> > 
> > It was introduced between abf8824fe530bcf060c757596f68663c87546a6a and
> > 3dd926a25d866364ce6d46c21f9ac05a82fa7ffb. Would travis catch such
> > errors?
> > 
> > Olaf
> > 
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxx
> > http://lists.xen.org/xen-devel

_______________________________________________
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®.