mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
Silence several compiler warnings
This commit is contained in:
parent
10dfe39f5f
commit
5f8820d9d6
2 changed files with 4 additions and 8 deletions
|
@ -21,7 +21,7 @@ BOOL I2PService::isService()
|
|||
HWINSTA hWinStation = GetProcessWindowStation();
|
||||
if (hWinStation != NULL)
|
||||
{
|
||||
USEROBJECTFLAGS uof = { 0 };
|
||||
USEROBJECTFLAGS uof = { FALSE, FALSE, 0 };
|
||||
if (GetUserObjectInformation(hWinStation, UOI_FLAGS, &uof, sizeof(USEROBJECTFLAGS), NULL) && ((uof.dwFlags & WSF_VISIBLE) == 0))
|
||||
{
|
||||
bIsService = TRUE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue