From 99a5de14cbde2a5b66b2f1240cb17210b838e469 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Wed, 7 Nov 2018 00:17:30 -0700 Subject: [PATCH] turnip: Fix a real -Wmaybe-uninitialized --- src/freedreno/vulkan/tu_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c index 6f5dab4a07d..d1ee8f5d9ec 100644 --- a/src/freedreno/vulkan/tu_device.c +++ b/src/freedreno/vulkan/tu_device.c @@ -72,7 +72,7 @@ tu_physical_device_init(struct tu_physical_device *device, drmDevicePtr drm_device) { const char *path = drm_device->nodes[DRM_NODE_RENDER]; - VkResult result; + VkResult result = VK_SUCCESS; drmVersionPtr version; int fd; int master_fd = -1; -- 2.30.2