Gdb: .cosmetics

git-svn-id: svn://ultimatepp.org/upp/trunk@12114 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
klugier 2018-07-29 09:52:36 +00:00
parent 902e028ff5
commit 0e507b763d
2 changed files with 4 additions and 13 deletions

View file

@ -62,12 +62,12 @@ bool GdbWindowsUtils::Is64BitIde() const
bool GdbWindowsUtils::Is64BitProcess(HANDLE handle) const
{
BOOL b_wow_64 = FALSE;
if(IsWow64Process(handle, &b_wow_64)) {
Loge() << METHOD_NAME << "Failed to check that process is under wow64 emulaton layer.";
BOOL is_wow_64 = FALSE;
if(!IsWow64Process(handle, &is_wow_64)) {
Loge() << METHOD_NAME << "Failed to check that process is under wow64 emulation layer.";
}
return !b_wow_64;
return !is_wow_64;
}
#undef METHOD_NAME

View file

@ -125,9 +125,6 @@ void AppMain___()
bool first_install = false;
SetVppLogSizeLimit(200000000);
#ifdef _DEBUG
// MemoryLimitKb(1000000);
#endif
#ifdef PLATFORM_POSIX
LoadUpdaterCfg();
@ -144,12 +141,6 @@ void AppMain___()
}
#endif
#ifdef _DEBUG
// Ctrl::ShowRepaint(20);
#endif
// _DBG_ InstantSetup(); return;
#ifdef PLATFORM_WIN32
if(!CheckLicense())
return;