From b3675d8f0d6aaff327b5d6a97cf512bf33e580fd Mon Sep 17 00:00:00 2001 From: Mark Lobodzinski Date: Wed, 29 Mar 2017 11:55:44 -0600 Subject: [PATCH] layers: Remove unneccessary line in unique_objects Change-Id: If658b4196e895a1229495c6acb40fb50feadd02c --- layers/unique_objects.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/layers/unique_objects.cpp b/layers/unique_objects.cpp index 64acf43..4cdcb4f 100644 --- a/layers/unique_objects.cpp +++ b/layers/unique_objects.cpp @@ -791,8 +791,7 @@ VKAPI_ATTR void VKAPI_CALL UpdateDescriptorSetWithTemplateKHR(VkDevice device, V descriptorSet = (VkDescriptorSet)dev_data->unique_id_mapping[reinterpret_cast(descriptorSet)]; descriptorUpdateTemplate = (VkDescriptorUpdateTemplateKHR)dev_data->unique_id_mapping[template_handle]; } - void *unwrapped_buffer = nullptr; - unwrapped_buffer = BuildUnwrappedUpdateTemplateBuffer(dev_data, template_handle, pData); + void *unwrapped_buffer = BuildUnwrappedUpdateTemplateBuffer(dev_data, template_handle, pData); dev_data->device_dispatch_table->UpdateDescriptorSetWithTemplateKHR(device, descriptorSet, descriptorUpdateTemplate, unwrapped_buffer); free(unwrapped_buffer); -- 2.7.4