summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2019-02-08 15:25:49 +1000
committerDave Airlie <[email protected]>2019-02-11 08:59:02 +1000
commita523ae0cace337d6c465ab2091eb1305cf47f898 (patch)
tree669bb6aa9bd5cd1f967b6ae9315b9bb95578d3d8 /src
parentd2e82c2682439691c1d7b34762d70e134dc8da8f (diff)
radv/llvm: initialise passes member.
Fixes coverity warning Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/amd/vulkan/radv_llvm_helper.cpp2
1 files changed, 1 insertions, 1 deletions
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()
{