From 94663121070530eb516afdac083a689e297b1925 Mon Sep 17 00:00:00 2001 From: Karl Schultz Date: Wed, 24 Feb 2016 14:39:39 -0700 Subject: loader: Fix MSVS warnings Apply branch 'fix-warnings' of https://github.com/null77/Vulkan-LoaderAndValidationLayers into null77-fix-warnings --- loader/debug_report.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loader/debug_report.c') diff --git a/loader/debug_report.c b/loader/debug_report.c index 232fa6d6..b04bedbb 100644 --- a/loader/debug_report.c +++ b/loader/debug_report.c @@ -192,7 +192,7 @@ VKAPI_ATTR VkResult VKAPI_CALL loader_CreateDebugReportCallback( VkDebugReportCallbackEXT *icd_info; const struct loader_icd *icd; struct loader_instance *inst = (struct loader_instance *)instance; - VkResult res; + VkResult res = VK_SUCCESS; uint32_t storage_idx; icd_info = calloc(sizeof(VkDebugReportCallbackEXT), inst->total_icd_count); -- cgit v1.2.3