Hi Andrew,

On 16/07/2015 16:19, Andrew Cooper wrote:
Hmmm... right. I'm not sure why the compiler didn't catch it.

Because there is not a path where it can possibly be used
uninitialised.  The for() loop is guaranteed to execute at least once.

Oh right, the ret = 0 asked by Stefano confused me. In this case, I don't see the point to initialize ret to 0 as it will never happen to have the Linux page granularity inferior to the Xen page granularity.

Regards,

--
Julien Grall

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

Reply via email to