aboutsummaryrefslogtreecommitdiff
path: root/loader/debug_report.c
diff options
context:
space:
mode:
authorKarl Schultz <karl@lunarg.com>2016-02-24 14:39:39 -0700
committerKarl Schultz <karl@lunarg.com>2016-02-24 17:49:55 -0700
commit94663121070530eb516afdac083a689e297b1925 (patch)
tree12db4ba3b0cc4f6c9df48143634c6ed933a3c208 /loader/debug_report.c
parentfcc5996a1f0f018160968f9e888b11f132c5e8d0 (diff)
downloadusermoji-94663121070530eb516afdac083a689e297b1925.tar.xz
loader: Fix MSVS warnings
Apply branch 'fix-warnings' of https://github.com/null77/Vulkan-LoaderAndValidationLayers into null77-fix-warnings
Diffstat (limited to 'loader/debug_report.c')
-rw-r--r--loader/debug_report.c2
1 files changed, 1 insertions, 1 deletions
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);