uninitialized variables-platform

(cherry picked from commit 36fd324de7a29a8f4bb84b7622ae925acb1d3760)
This commit is contained in:
AzaezelX 2020-04-26 16:00:48 -05:00
parent bfcc83638d
commit bd8a72005e
7 changed files with 17 additions and 6 deletions

View file

@ -59,6 +59,7 @@ AsyncPeriodicUpdateThread::AsyncPeriodicUpdateThread( String name,
// This is a bit contrived. The 'dueTime' is in 100 nanosecond intervals
// and relative if it is negative. The period is in milliseconds.
mIntervalMS = intervalMS;
LARGE_INTEGER deltaTime;
deltaTime.QuadPart = - LONGLONG( intervalMS * 10 /* micro */ * 1000 /* milli */ );