diff options
author | Maciej Cencora <m.cencora@gmail.com> | 2009-03-07 14:05:19 +0100 |
---|---|---|
committer | Nicolai Haehnle <nhaehnle@gmail.com> | 2009-03-07 16:20:16 +0100 |
commit | b125af1d2587d8e69218010ebba0b748467158a9 (patch) | |
tree | e4ef6d25929ca46d18a38619e98f6164a3daa063 /src/mesa/drivers/dri/r300 | |
parent | ec1476bf31f00f5091e2a568b277962d8b667248 (diff) |
r300: shut up valgrind
It complained about uninitialized values
Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/r300')
-rw-r--r-- | src/mesa/drivers/dri/r300/radeon_ioctl.c | 2 |
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 724016de6e..f042a7b943 100644 --- a/src/mesa/drivers/dri/r300/radeon_ioctl.c +++ b/src/mesa/drivers/dri/r300/radeon_ioctl.c @@ -59,7 +59,7 @@ static uint32_t radeonGetLastFrame(radeonContextPtr radeon) { drm_radeon_getparam_t gp; int ret; - uint32_t frame; + uint32_t frame = 0; gp.param = RADEON_PARAM_LAST_FRAME; gp.value = (int *)&frame; |