[cairo] [PATCH 1/8] perf: Guarantee path width is non-negative

Chris Wilson chris at chris-wilson.co.uk
Sat Feb 22 03:54:46 PST 2014


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 <b.harrington at samsung.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the cairo mailing list