[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH for-4.7 1/7] tools/xenstat: Avoid comparing '0 <= unsigned integer'
On 4/27/16 12:01 PM, Andrew Cooper wrote: > Clang points out that this is tautological. > > src/xenstat.c:325:8: warning: comparison of 0 <= unsigned expression is > always true [-Wtautological-compare] > if (0 <= index && index < node->num_domains) > ~ ^ ~~~~~ > > Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> > --- Reviewed-by: Doug Goldstein <cardoe@xxxxxxxxxx> -- Doug Goldstein Attachment:
signature.asc _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |