diff options
author | Tim Wiederhake <[email protected]> | 2011-01-24 16:59:14 +0100 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2011-01-25 14:18:19 -0500 |
commit | 9d41e5ee46d73d4bff0ab78a5d24ec619a0ef894 (patch) | |
tree | 5f982ddc80c7a3c6767e0579a65b83e6b3b5d34c /src/gallium/winsys | |
parent | ba0953da5b2440ba19f427ed82266f0dd0cdf96a (diff) |
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)
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/r600/drm/r600_drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |