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@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to