diff --git a/host/platform/Windows/src/service.c b/host/platform/Windows/src/service.c index 34cfee43..a6b328cf 100644 --- a/host/platform/Windows/src/service.c +++ b/host/platform/Windows/src/service.c @@ -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)