WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Check some returns of common functions

Keir Fraser wrote:  [Wed Apr 26 2006, 04:52:16AM EDT]
> The following might be clearer than doing the workaround in-place 
> though:
> 
> #define ignore_retval(x) do { long __r; __r = (long)(x); } while (0)

How is a custom wrapper clearer than (void), which is generally
recognized as intentionally ignoring the return value?

Aron

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel