mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
initialize offset to avoid bogus warnings from valgrind
This commit is contained in:
parent
be9282bf0b
commit
527cd2544f
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ int radeon_mm_find(r300ContextPtr rmesa, void *ptr)
|
|||
int radeon_mm_alloc(r300ContextPtr rmesa, int alignment, int size)
|
||||
{
|
||||
drm_radeon_mem_alloc_t alloc;
|
||||
int offset, ret;
|
||||
int offset = 0, ret;
|
||||
int i, free=-1;
|
||||
int done_age;
|
||||
drm_radeon_mem_free_t memfree;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue