mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTOSKRNL] Write 'if (var) ASSERT(FALSE);' as 'ASSERT(!var);'
Based on Serge Gautherie's patch. CORE-13216
This commit is contained in:
parent
92c904addc
commit
53ac8dae4d
1 changed files with 2 additions and 2 deletions
|
@ -1022,13 +1022,13 @@ IopInitializeBootDrivers(VOID)
|
|||
|
||||
/* Get highest group order index */
|
||||
IopGroupIndex = PpInitGetGroupOrderIndex(NULL);
|
||||
if (IopGroupIndex == 0xFFFF) ASSERT(FALSE);
|
||||
ASSERT(IopGroupIndex != 0xFFFF);
|
||||
|
||||
/* Allocate the group table */
|
||||
IopGroupTable = ExAllocatePoolWithTag(PagedPool,
|
||||
IopGroupIndex * sizeof(LIST_ENTRY),
|
||||
TAG_IO);
|
||||
if (IopGroupTable == NULL) ASSERT(FALSE);
|
||||
ASSERT(IopGroupTable != NULL);
|
||||
|
||||
/* Initialize the group table lists */
|
||||
for (i = 0; i < IopGroupIndex; i++) InitializeListHead(&IopGroupTable[i]);
|
||||
|
|
Loading…
Reference in a new issue