mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-05 06:10:28 +01:00
vega: memset data array to zero to silence uninitialized var warnings
(cherry picked from commit 6386f80dbd)
This commit is contained in:
parent
6bb4823f7d
commit
f893fde63b
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue