mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 22:08:26 +02:00
venus: silence -Wuninitialized
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23090>
This commit is contained in:
parent
d0669f3ede
commit
2b551d100b
1 changed files with 1 additions and 1 deletions
|
|
@ -1497,7 +1497,7 @@ enumerate_physical_devices(struct vn_instance *instance,
|
|||
VkPhysicalDevice *handles = NULL;
|
||||
VkResult result;
|
||||
|
||||
uint32_t count;
|
||||
uint32_t count = 0;
|
||||
result = vn_call_vkEnumeratePhysicalDevices(
|
||||
instance, vn_instance_to_handle(instance), &count, NULL);
|
||||
if (result != VK_SUCCESS || !count)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue