Fix Cppcheck warning

[ci skip]
This commit is contained in:
Daniel Marjamäki 2019-01-13 13:06:44 +01:00
parent 004827afdc
commit 900e26f651
1 changed files with 18 additions and 18 deletions

View File

@ -579,7 +579,7 @@ namespace {
return; return;
const HANDLE hProcess = GetCurrentProcess(); const HANDLE hProcess = GetCurrentProcess();
const HANDLE hThread = GetCurrentThread(); const HANDLE hThread = GetCurrentThread();
BOOL result = pSymInitialize( pSymInitialize(
hProcess, hProcess,
nullptr, nullptr,
TRUE TRUE
@ -607,7 +607,7 @@ namespace {
DWORD64 displacement = 0; DWORD64 displacement = 0;
int beyond_main=-1; // emergency exit, see below int beyond_main=-1; // emergency exit, see below
for (ULONG frame = 0; ; frame++) { for (ULONG frame = 0; ; frame++) {
result = pStackWalk64 BOOL result = pStackWalk64
( (
#ifdef _M_IX86 #ifdef _M_IX86
IMAGE_FILE_MACHINE_I386, IMAGE_FILE_MACHINE_I386,