projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0669f3
)
venus: silence -Wuninitialized
author
Yiwei Zhang
<zzyiwei@chromium.org>
Wed, 17 May 2023 04:59:40 +0000
(21:59 -0700)
committer
Marge Bot
<emma+marge@anholt.net>
Tue, 30 May 2023 22:52:11 +0000
(22:52 +0000)
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23090>
src/virtio/vulkan/vn_physical_device.c
patch
|
blob
|
history
diff --git
a/src/virtio/vulkan/vn_physical_device.c
b/src/virtio/vulkan/vn_physical_device.c
index
ebc8b1e
..
b87d518
100644
(file)
--- a/
src/virtio/vulkan/vn_physical_device.c
+++ b/
src/virtio/vulkan/vn_physical_device.c
@@
-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)