summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Cencora <m.cencora@gmail.com>2009-02-08 02:28:27 +0100
committerNicolai Haehnle <nhaehnle@gmail.com>2009-03-06 22:19:43 +0100
commitee56c5e73b644c81255489d08ef66722d1565f53 (patch)
tree7e3e82b1a2fc4226924946ed757e42bd8a7dc570
parent3fa6a6df755849c2fa84df5f02756967bdf8ca0d (diff)
r300: silence valgrind
Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
-rw-r--r--src/mesa/drivers/dri/r300/radeon_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/radeon_ioctl.c b/src/mesa/drivers/dri/r300/radeon_ioctl.c
index 36502eb42d..724016de6e 100644
--- a/src/mesa/drivers/dri/r300/radeon_ioctl.c
+++ b/src/mesa/drivers/dri/r300/radeon_ioctl.c
@@ -78,7 +78,7 @@ uint32_t radeonGetAge(radeonContextPtr radeon)
{
drm_radeon_getparam_t gp;
int ret;
- uint32_t age;
+ uint32_t age = 0;
gp.param = RADEON_PARAM_LAST_CLEAR;
gp.value = (int *)&age;