Re: [PATCH 1/8] perf: Guarantee path width is non-negative
Chris Wilson <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Feb 22, 2014 at 02:07:06AM +0000, Bryce W. Harrington wrote: > This quells the following warning: > > perf/micro/hatching.c:39:5: warning: cannot optimize loop, the > loop counter may overflow > > Width and height aren't going to be negative so enforce it so that the > compiler can do whatever optimization it wants to do. > > Signed-off-by: Bryce Harrington <[email protected]> Reviewed-by: Chris Wilson <[email protected]> -Chris -- Chris Wilson, Intel Open Source Technology Centre -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo