diff options
| author | Karl Schultz <karl@lunarg.com> | 2016-02-24 14:39:39 -0700 |
|---|---|---|
| committer | Karl Schultz <karl@lunarg.com> | 2016-02-24 17:49:55 -0700 |
| commit | 94663121070530eb516afdac083a689e297b1925 (patch) | |
| tree | 12db4ba3b0cc4f6c9df48143634c6ed933a3c208 /loader/debug_report.c | |
| parent | fcc5996a1f0f018160968f9e888b11f132c5e8d0 (diff) | |
| download | usermoji-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.c | 2 |
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); |
