diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-12-02 04:12:16 +0100 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-12-02 04:17:18 +0100 |
commit | 8420743301a36dc1316fadf53bf8e1478068400a (patch) | |
tree | c63e30e8301ec0524453bcf70c904fece6bbdb5a /radeon/radeon_cs_gem.c | |
parent | 1443bea488f6ad47cb4469c01b35aea0377822c0 (diff) | |
download | libdrm-8420743301a36dc1316fadf53bf8e1478068400a.tar.gz libdrm-8420743301a36dc1316fadf53bf8e1478068400a.tar.bz2 libdrm-8420743301a36dc1316fadf53bf8e1478068400a.zip |
radeon: silence valgrind warnings by zeroing memory
Diffstat (limited to 'radeon/radeon_cs_gem.c')
-rw-r--r-- | radeon/radeon_cs_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/radeon/radeon_cs_gem.c b/radeon/radeon_cs_gem.c index 81bd3939..9834bcf1 100644 --- a/radeon/radeon_cs_gem.c +++ b/radeon/radeon_cs_gem.c @@ -517,7 +517,7 @@ static struct radeon_cs_funcs radeon_cs_gem_funcs = { static int radeon_get_device_id(int fd, uint32_t *device_id) { - struct drm_radeon_info info; + struct drm_radeon_info info = {}; int r; *device_id = 0; |