[Mesa-dev] [PATCH] radv/llvm: initialise passes static member.
Dave Airlie
airlied at gmail.com
Fri Feb 8 05:26:24 UTC 2019
From: Dave Airlie <airlied at redhat.com>
Fixes coverity warning
---
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 f651593ca62..d1e1e376f90 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.20.1
More information about the mesa-dev
mailing list