Remove useless blocks

Don't put the code inside two blocks for no reason.

Change-Id: I54b8d6fbfab50a26ddcd8ec07ba689e5094bcad3
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
Ievgenii Meshcheriakov 2021-11-10 12:39:04 +01:00
parent 605d383a70
commit f28e161361

View File

@ -177,8 +177,6 @@ GlobalSid::~GlobalSid()
} }
GlobalSid::GlobalSid() GlobalSid::GlobalSid()
{
{
{ {
// Create TRUSTEE for current user // Create TRUSTEE for current user
HANDLE hnd = ::GetCurrentProcess(); HANDLE hnd = ::GetCurrentProcess();
@ -219,8 +217,6 @@ GlobalSid::GlobalSid()
BuildTrusteeWithSid(&worldTrusteeW, worldSID); BuildTrusteeWithSid(&worldTrusteeW, worldSID);
} }
} }
}
}
Q_GLOBAL_STATIC(GlobalSid, initGlobalSid) Q_GLOBAL_STATIC(GlobalSid, initGlobalSid)