diff options
author | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-05-08 17:09:32 -0700 |
---|---|---|
committer | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-05-08 19:41:08 -0700 |
commit | bed917641cfde06b9ff609760ba20b498a65cefa (patch) | |
tree | 2013c0acf5f78e4c4fd79318d6f3383d236b50e5 | |
parent | cd59933d9f70c6acea63013f1b773b545026bf81 (diff) |
radeon-gallium: Shut up Valgrind.
-rw-r--r-- | src/gallium/winsys/drm/radeon/core/radeon_r300.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/winsys/drm/radeon/core/radeon_r300.c b/src/gallium/winsys/drm/radeon/core/radeon_r300.c index 5dcce20cd5..556f1d9b87 100644 --- a/src/gallium/winsys/drm/radeon/core/radeon_r300.c +++ b/src/gallium/winsys/drm/radeon/core/radeon_r300.c @@ -147,9 +147,9 @@ static void radeon_r300_flush_cs(struct r300_winsys* winsys) /* Helper function to do the ioctls needed for setup and init. */ static void do_ioctls(struct r300_winsys* winsys, int fd) { - struct drm_radeon_gem_info info; - drm_radeon_getparam_t gp; - int target; + struct drm_radeon_gem_info info = {0}; + drm_radeon_getparam_t gp = {0}; + int target = 0; int retval; gp.value = ⌖ |