mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
[SAMSRV]
Remove unused code. svn path=/trunk/; revision=59320
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user