mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-21 20:00:11 +00:00
Fix MSVC warning C4505 for VmaCreateStringCopy
This commit is contained in:
parent
4f24cf28c8
commit
f333006465
@ -3256,6 +3256,7 @@ static char* VmaCreateStringCopy(const VkAllocationCallbacks* allocs, const char
|
||||
return VMA_NULL;
|
||||
}
|
||||
|
||||
#if VMA_STATS_STRING_ENABLED
|
||||
static char* VmaCreateStringCopy(const VkAllocationCallbacks* allocs, const char* srcStr, size_t strLen)
|
||||
{
|
||||
if (srcStr != VMA_NULL)
|
||||
@ -3267,6 +3268,7 @@ static char* VmaCreateStringCopy(const VkAllocationCallbacks* allocs, const char
|
||||
}
|
||||
return VMA_NULL;
|
||||
}
|
||||
#endif // VMA_STATS_STRING_ENABLED
|
||||
|
||||
static void VmaFreeString(const VkAllocationCallbacks* allocs, char* str)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user