mirror of
https://github.com/reactos/reactos.git
synced 2024-07-12 23:55:07 +00:00
[SAMSRV]
Remove unused code. svn path=/trunk/; revision=59320
This commit is contained in:
parent
2f42f9205b
commit
921fca76fc
|
@ -356,7 +356,6 @@ SampValidateDbObject(SAMPR_HANDLE Handle,
|
|||
NTSTATUS
|
||||
SampCloseDbObject(PSAM_DB_OBJECT DbObject)
|
||||
{
|
||||
PSAM_DB_OBJECT ParentObject = NULL;
|
||||
NTSTATUS Status = STATUS_SUCCESS;
|
||||
|
||||
DbObject->RefCount--;
|
||||
|
@ -370,9 +369,6 @@ SampCloseDbObject(PSAM_DB_OBJECT DbObject)
|
|||
if (DbObject->MembersKeyHandle != NULL)
|
||||
SampRegCloseKey(DbObject->MembersKeyHandle);
|
||||
|
||||
if (DbObject->ParentObject != NULL)
|
||||
ParentObject = DbObject->ParentObject;
|
||||
|
||||
if (DbObject->Name != NULL)
|
||||
RtlFreeHeap(RtlGetProcessHeap(), 0, DbObject->Name);
|
||||
|
||||
|
|
Loading…
Reference in a new issue