mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 13:33:40 +00:00
[host] service: fix possible use of unitialized variable
This commit is contained in:
parent
0d7be70b56
commit
e2e49bce13
@ -645,7 +645,7 @@ VOID WINAPI SvcMain(DWORD dwArgc, LPTSTR *lpszArgv)
|
||||
ReportSvcStatus(SERVICE_RUNNING, NO_ERROR, 0);
|
||||
while(1)
|
||||
{
|
||||
ULONGLONG launchTime;
|
||||
ULONGLONG launchTime = 0ULL;
|
||||
|
||||
DWORD interactiveSession = WTSGetActiveConsoleSessionId();
|
||||
if (interactiveSession != 0 && interactiveSession != 0xFFFFFFFF)
|
||||
|
Loading…
Reference in New Issue
Block a user