Misc: Remove unused code

This commit is contained in:
Connor McLaughlin committed 2022-08-22 19:55:38 +10:00
1 parent 43869bf74c
commit 7bbacd2392
100 files changed
+114 -2979

No files matched your search

-2
View File
@@ -113,7 +113,6 @@ void Timer::SleepUntil(Value value, bool exact)
if (diff <= 0)
return;
#ifndef _UWP
HANDLE timer = GetSleepTimer();
if (timer)
{
@@ -131,7 +130,6 @@ void Timer::SleepUntil(Value value, bool exact)
return;
}
}
#endif
// falling back to sleep... bad.
Sleep(static_cast<DWORD>(static_cast<std::uint64_t>(diff) / 1000000));