fix build warnings when compiling with clang-cl

This commit is contained in:
Elliot
2024-03-11 14:44:44 -04:00
parent 082c13ac8e
commit a26f076a0e
3 changed files with 2 additions and 3 deletions

View File

@@ -439,7 +439,6 @@ void InitCallstack()
MODULEINFO info;
if( GetModuleInformation( proc, mod[i], &info, sizeof( info ) ) != 0 )
{
const auto base = uint64_t( info.lpBaseOfDll );
char name[1024];
const auto nameLength = GetModuleFileNameA( mod[i], name, 1021 );
if( nameLength > 0 )