From 4a54826d9b9d3a990b9753b3a1860b4187eedc8e Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 16 Aug 2018 21:14:56 +0200 Subject: [PATCH] Remove unused variable --- gfx/common/vulkan_common.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gfx/common/vulkan_common.c b/gfx/common/vulkan_common.c index 8a38a4855c..a736a8c134 100644 --- a/gfx/common/vulkan_common.c +++ b/gfx/common/vulkan_common.c @@ -2372,8 +2372,6 @@ void vulkan_present(gfx_ctx_vulkan_data_t *vk, unsigned index) void vulkan_context_destroy(gfx_ctx_vulkan_data_t *vk, bool destroy_surface) { - unsigned i; - if (!vk->context.instance) return;