radeon: Initialize variables in radeon_llvm_context_init.
authorVinson Lee <vlee@freedesktop.org>
Sat, 18 May 2013 07:21:52 +0000 (00:21 -0700)
committerVinson Lee <vlee@freedesktop.org>
Thu, 23 May 2013 06:06:23 +0000 (23:06 -0700)
commit36e2c7cc1ad5723abc65fbd7588eedeaaf94a4ba
tree825953e9d4ec5e8632d82b001c0d2e4fef668a7d
parentcf37e12024911e2b4c972db9472a81e71ca2f086
radeon: Initialize variables in radeon_llvm_context_init.

'type' was not fully initialized when calling lp_build_context_init.

Fixes "Uninitialized scalar variable" defect reported by Coverity.

NOTE: This is a candidate for the stable branches.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c