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

This commit is contained in:
Brian Paul 2012-01-31 07:01:29 -07:00
parent 97329efc5f
commit 6386f80dbd
1 changed files with 2 additions and 0 deletions

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,