mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[NTOS:PS] NtQueryInformationProcess(): Fix ProcessDeviceMap case
Fix Clang-Cl
'...\ntoskrnl\ps\query.c(583,33): warning: variable 'Status' is uninitialized when used here [-Wuninitialized]'
Addendum to 1074a9a
.
This commit is contained in:
parent
c0961cac10
commit
8a61e4f08c
1 changed files with 1 additions and 5 deletions
|
@ -578,14 +578,10 @@ NtQueryInformationProcess(
|
|||
{
|
||||
/* Get the exception code */
|
||||
Status = _SEH2_GetExceptionCode();
|
||||
_SEH2_YIELD(break);
|
||||
}
|
||||
_SEH2_END;
|
||||
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
/* Only one flag is supported and it needs LUID mappings */
|
||||
if ((Flags & ~PROCESS_LUID_DOSDEVICES_ONLY) != 0 ||
|
||||
!ObIsLUIDDeviceMapsEnabled())
|
||||
|
|
Loading…
Reference in a new issue