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

Re: [Xen-devel] [[PATCH]] libxl/arm: Fix ARM build.



Dear Wei,


On 16.05.17 14:03, Wei Liu wrote:
I'm confused by the commit message.

My bad, I did not pay enough attention to write the message. Would following be better?

Implicitly initialize a referenced ouput parameter for all code branches in order to not face a "variable may be used uninitialized" compilation error in a caller function, fired by some compilers under circumstances.

If I'm right, would it be better to set *size to 0 in the default
branch?

Agree.

--

*Andrii Anisov*



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

 


Rackspace

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