[KBM] supress warning (#10983)

This commit is contained in:
Enrico Giordani
2021-04-27 11:13:30 -07:00
committed by GitHub
parent 2c2cd3fde2
commit 4279d6c067

View File

@@ -134,9 +134,12 @@ public:
else else
{ {
m_hProcess = sei.hProcess; m_hProcess = sei.hProcess;
if (m_hProcess)
{
SetPriorityClass(m_hProcess, REALTIME_PRIORITY_CLASS); SetPriorityClass(m_hProcess, REALTIME_PRIORITY_CLASS);
} }
} }
}
// Disable the powertoy // Disable the powertoy
virtual void disable() virtual void disable()