Skip to content
Snippets Groups Projects
Commit 2e50a93c authored by Marek Olšák's avatar Marek Olšák
Browse files

r600g: more valgrind fixes

(cherry picked from commit dc9d789d)
parent 2c29c245
No related branches found
No related tags found
Loading
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment