From a523ae0cace337d6c465ab2091eb1305cf47f898 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 8 Feb 2019 15:25:49 +1000 Subject: [PATCH] radv/llvm: initialise passes member. Fixes coverity warning Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_llvm_helper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_llvm_helper.cpp b/src/amd/vulkan/radv_llvm_helper.cpp index f651593..d1e1e37 100644 --- a/src/amd/vulkan/radv_llvm_helper.cpp +++ b/src/amd/vulkan/radv_llvm_helper.cpp @@ -29,7 +29,7 @@ class radv_llvm_per_thread_info { public: radv_llvm_per_thread_info(enum radeon_family arg_family, enum ac_target_machine_options arg_tm_options) - : family(arg_family), tm_options(arg_tm_options) {} + : family(arg_family), tm_options(arg_tm_options), passes(NULL) {} ~radv_llvm_per_thread_info() { -- 2.7.4