r300: silence valgrind
authorMaciej Cencora <m.cencora@gmail.com>
Sun, 8 Feb 2009 01:28:27 +0000 (02:28 +0100)
committerNicolai Haehnle <nhaehnle@gmail.com>
Fri, 6 Mar 2009 21:19:43 +0000 (22:19 +0100)
Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
src/mesa/drivers/dri/r300/radeon_ioctl.c

index 36502eb42de9882c576d65e225974d9b6b107d14..724016de6ee6af40ba86d5428eb9045816f1fc9b 100644 (file)
@@ -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;