mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
(customize-variable 'indent-tabs-mode) ; nil
svn path=/trunk/; revision=28416
This commit is contained in:
@@ -331,8 +331,8 @@ ObpIncrementHandleDataBase(IN POBJECT_HEADER ObjectHeader,
|
||||
/* Insert a new entry */
|
||||
FreeEntry = ObpInsertHandleCount(ObjectHeader);
|
||||
if (!FreeEntry) return STATUS_INSUFFICIENT_RESOURCES;
|
||||
ASSERT(!FreeEntry->Process);
|
||||
ASSERT(!FreeEntry->HandleCount);
|
||||
ASSERT(!FreeEntry->Process);
|
||||
ASSERT(!FreeEntry->HandleCount);
|
||||
|
||||
/* Fill it out */
|
||||
FreeEntry->Process = Process;
|
||||
@@ -377,8 +377,8 @@ ObpIncrementHandleDataBase(IN POBJECT_HEADER ObjectHeader,
|
||||
/* Allocate one */
|
||||
FreeEntry = ObpInsertHandleCount(ObjectHeader);
|
||||
if (!FreeEntry) return STATUS_INSUFFICIENT_RESOURCES;
|
||||
ASSERT(!FreeEntry->Process);
|
||||
ASSERT(!FreeEntry->HandleCount);
|
||||
ASSERT(!FreeEntry->Process);
|
||||
ASSERT(!FreeEntry->HandleCount);
|
||||
}
|
||||
|
||||
/* Fill out the entry */
|
||||
@@ -537,7 +537,7 @@ ObpDecrementHandleCount(IN PVOID ObjectBody,
|
||||
{
|
||||
/* Found it, get the process handle count */
|
||||
ProcessHandleCount = HandleEntry->HandleCount--;
|
||||
break;
|
||||
break;
|
||||
}
|
||||
|
||||
/* Keep looping */
|
||||
|
||||
Reference in New Issue
Block a user