Merge pull request #53 from cdwfs/uninitialized-vkresult

Fix for "potentially uninitialized variable" warning
diff --git a/src/vk_mem_alloc.h b/src/vk_mem_alloc.h
index 4eb1305..9001120 100644
--- a/src/vk_mem_alloc.h
+++ b/src/vk_mem_alloc.h
@@ -14525,7 +14525,7 @@
 #endif // #if VMA_DEDICATED_ALLOCATION

 

     size_t allocIndex;

-    VkResult res;

+    VkResult res = VK_SUCCESS;

     for(allocIndex = 0; allocIndex < allocationCount; ++allocIndex)

     {

         res = AllocateDedicatedMemoryPage(