From dc9d789d1b39f9702c179a1d60f76535352563df Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Mon, 11 Jul 2011 04:13:35 +0200 Subject: [PATCH] r600g: more valgrind fixes --- src/gallium/winsys/r600/drm/r600_drm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/winsys/r600/drm/r600_drm.c b/src/gallium/winsys/r600/drm/r600_drm.c index fa2d77ed464..b5a4d928bf5 100644 --- a/src/gallium/winsys/r600/drm/r600_drm.c +++ b/src/gallium/winsys/r600/drm/r600_drm.c @@ -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; -- 2.30.2