Module: Mesa Branch: main Commit: 66713d33fe487bfe69e99cf151976146cc4f3ec1 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=66713d33fe487bfe69e99cf151976146cc4f3ec1
Author: Bas Nieuwenhuizen <[email protected]> Date: Sun Oct 3 21:43:09 2021 +0200 radv: Remove android build warning. Shadowed variable. Reviewed-by: Samuel Pitoiset <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13164> --- src/amd/vulkan/radv_android.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_android.c b/src/amd/vulkan/radv_android.c index 790e2c57508..d26095de714 100644 --- a/src/amd/vulkan/radv_android.c +++ b/src/amd/vulkan/radv_android.c @@ -849,7 +849,7 @@ radv_import_ahb_memory(struct radv_device *device, struct radv_device_memory *me struct radv_image_create_info create_info = {.no_metadata_planes = true, .bo_metadata = &metadata}; - VkResult result = radv_image_create_layout(device, create_info, NULL, mem->image); + result = radv_image_create_layout(device, create_info, NULL, mem->image); if (result != VK_SUCCESS) { device->ws->buffer_destroy(device->ws, mem->bo); mem->bo = NULL;
