radv/llvm: initialise passes member.
authorDave Airlie <airlied@redhat.com>
Fri, 8 Feb 2019 05:25:49 +0000 (15:25 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 10 Feb 2019 22:59:02 +0000 (08:59 +1000)
Fixes coverity warning

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_llvm_helper.cpp

index f651593ca621bcd1d3522045b8aa468c80118490..d1e1e376f909150b4fc695f57984dfd0b3dcb863 100644 (file)
@@ -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()
        {