From 6cea8a43fa09d0654ad5f0da8dc151b81eb350c4 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Thu, 10 Mar 2022 22:34:25 +0200 Subject: [PATCH] anv: silence compiler warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lionel Landwerlin Reviewed-by: Tapani Pälli Part-of: --- src/intel/vulkan/anv_descriptor_set.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_descriptor_set.c b/src/intel/vulkan/anv_descriptor_set.c index 3bc443f70a2..76696fe703c 100644 --- a/src/intel/vulkan/anv_descriptor_set.c +++ b/src/intel/vulkan/anv_descriptor_set.c @@ -1281,7 +1281,7 @@ VkResult anv_AllocateDescriptorSets( ANV_FROM_HANDLE(anv_descriptor_pool, pool, pAllocateInfo->descriptorPool); VkResult result = VK_SUCCESS; - struct anv_descriptor_set *set; + struct anv_descriptor_set *set = NULL; uint32_t i; const VkDescriptorSetVariableDescriptorCountAllocateInfo *vdcai =