|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
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
 |   
 
 | 
    | 
  
  
    |   | 
    |