From: Maciej Cencora Date: Sun, 8 Feb 2009 01:28:27 +0000 (+0100) Subject: r300: silence valgrind X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee56c5e73b644c81255489d08ef66722d1565f53;p=mesa.git r300: silence valgrind Signed-off-by: Nicolai Haehnle --- diff --git a/src/mesa/drivers/dri/r300/radeon_ioctl.c b/src/mesa/drivers/dri/r300/radeon_ioctl.c index 36502eb42de..724016de6ee 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;