mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
lavapipe: null out local var to avoid uninit warning
harmless warning, but annoying Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41312>
This commit is contained in:
parent
f4461b66b6
commit
ea57814003
1 changed files with 1 additions and 1 deletions
|
|
@ -544,7 +544,7 @@ VKAPI_ATTR void VKAPI_CALL lvp_GetDeviceImageSubresourceLayoutKHR(
|
|||
const VkDeviceImageSubresourceInfoKHR* pInfo,
|
||||
VkSubresourceLayout2KHR* pLayout)
|
||||
{
|
||||
VkImage image;
|
||||
VkImage image = VK_NULL_HANDLE;
|
||||
/* technically supposed to be able to do this without creating an image, but that's harder */
|
||||
if (lvp_image_create(_device, pInfo->pCreateInfo, NULL, &image) != VK_SUCCESS)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue