mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 13:00:09 +01:00
r600g: more valgrind fixes
This commit is contained in:
parent
daf6604435
commit
dc9d789d1b
1 changed files with 2 additions and 2 deletions
|
|
@ -209,7 +209,7 @@ static int radeon_drm_get_tiling(struct radeon *radeon)
|
|||
static int radeon_get_clock_crystal_freq(struct radeon *radeon)
|
||||
{
|
||||
struct drm_radeon_info info = {};
|
||||
uint32_t clock_crystal_freq;
|
||||
uint32_t clock_crystal_freq = 0;
|
||||
int r;
|
||||
|
||||
info.request = RADEON_INFO_CLOCK_CRYSTAL_FREQ;
|
||||
|
|
@ -227,7 +227,7 @@ static int radeon_get_clock_crystal_freq(struct radeon *radeon)
|
|||
static int radeon_get_num_backends(struct radeon *radeon)
|
||||
{
|
||||
struct drm_radeon_info info = {};
|
||||
uint32_t num_backends;
|
||||
uint32_t num_backends = 0;
|
||||
int r;
|
||||
|
||||
info.request = RADEON_INFO_NUM_BACKENDS;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue