aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/vulkan
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2018-11-07 00:17:30 -0700
committerChia-I Wu <[email protected]>2019-03-11 10:01:33 -0700
commit99a5de14cbde2a5b66b2f1240cb17210b838e469 (patch)
tree7b2ddbd680e2716e3cd63533ba35404223ab9ae0 /src/freedreno/vulkan
parent75f2c8458b79916e5873a8554358d7953adb7bce (diff)
turnip: Fix a real -Wmaybe-uninitialized
Diffstat (limited to 'src/freedreno/vulkan')
-rw-r--r--src/freedreno/vulkan/tu_device.c2
1 files changed, 1 insertions, 1 deletions
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;