From f8452e23c823671d3f0e47c92b69af20cde13b0e Mon Sep 17 00:00:00 2001 From: Alcaro Date: Tue, 23 Feb 2016 16:06:37 +0100 Subject: [PATCH] Don't use uninitialized variables. --- gfx/common/vulkan_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gfx/common/vulkan_common.c b/gfx/common/vulkan_common.c index a8950a49f5..6b148123fc 100644 --- a/gfx/common/vulkan_common.c +++ b/gfx/common/vulkan_common.c @@ -986,6 +986,7 @@ bool vulkan_context_init(gfx_ctx_vulkan_data_t *vk, break; case VULKAN_WSI_NONE: default: + instance_extensions[1] = NULL; break; }