From 9d41e5ee46d73d4bff0ab78a5d24ec619a0ef894 Mon Sep 17 00:00:00 2001 From: Tim Wiederhake Date: Mon, 24 Jan 2011 16:59:14 +0100 Subject: [PATCH] silences some valgrind warnings ==5547== Conditional jump or move depends on uninitialised value(s) ==5547== at 0x8FE745D: r600_drm_winsys_create (r600_drm.c:86) --- src/gallium/winsys/r600/drm/r600_drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/winsys/r600/drm/r600_drm.c b/src/gallium/winsys/r600/drm/r600_drm.c index 69b0a1dcd72..6fc147fb6f4 100644 --- a/src/gallium/winsys/r600/drm/r600_drm.c +++ b/src/gallium/winsys/r600/drm/r600_drm.c @@ -73,7 +73,7 @@ static int radeon_drm_get_tiling(struct radeon *radeon) { struct drm_radeon_info info; int r; - uint32_t tiling_config; + uint32_t tiling_config = 0; info.request = RADEON_INFO_TILING_CONFIG; info.value = (uintptr_t)&tiling_config; -- 2.30.2