Re: [PATCH v2 2/2] Don't underrun the vertex array of empty polygons

2014-08-20 Thread Pekka Paalanen
On Tue, 19 Aug 2014 15:59:45 +0200 Ondřej Majerech oxyd.o...@gmail.com wrote: This silences the following warning: src/vertex-clipping.c:196:22: warning: array subscript is below array bounds [-Warray-bounds] ctx-prev.x = src-x[src-n - 1]; Signed-off-by: Ondřej Majerech

[PATCH v2 2/2] Don't underrun the vertex array of empty polygons

2014-08-19 Thread Ondřej Majerech
This silences the following warning: src/vertex-clipping.c:196:22: warning: array subscript is below array bounds [-Warray-bounds] ctx-prev.x = src-x[src-n - 1]; Signed-off-by: Ondřej Majerech oxyd.o...@gmail.com --- src/vertex-clipping.c | 12 1 file changed, 12