vega: memset data array to zero to silence uninitialized var warnings

(cherry picked from commit 6386f80dbd)
This commit is contained in:
Brian Paul 2012-01-31 07:01:29 -07:00
parent 6bb4823f7d
commit f893fde63b

View file

@ -367,6 +367,8 @@ static struct polygon_array * path_get_fill_polygons(struct path *p, struct matr
void *coords = (VGfloat *)p->control_points->data;
struct array *array;
memset(data, 0, sizeof(data));
if (p->fill_polys.polygon_array.array)
{
if (memcmp( &p->fill_polys.matrix,