Author: ekohl
Date: Sun Jun 23 15:02:31 2013
New Revision: 59320
URL:
http://svn.reactos.org/svn/reactos?rev=59320&view=rev
Log:
[SAMSRV]
Remove unused code.
Modified:
trunk/reactos/dll/win32/samsrv/database.c
Modified: trunk/reactos/dll/win32/samsrv/database.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/samsrv/database.…
==============================================================================
--- trunk/reactos/dll/win32/samsrv/database.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/samsrv/database.c [iso-8859-1] Sun Jun 23 15:02:31 2013
@@ -356,7 +356,6 @@
NTSTATUS
SampCloseDbObject(PSAM_DB_OBJECT DbObject)
{
- PSAM_DB_OBJECT ParentObject = NULL;
NTSTATUS Status = STATUS_SUCCESS;
DbObject->RefCount--;
@@ -369,9 +368,6 @@
if (DbObject->MembersKeyHandle != NULL)
SampRegCloseKey(DbObject->MembersKeyHandle);
-
- if (DbObject->ParentObject != NULL)
- ParentObject = DbObject->ParentObject;
if (DbObject->Name != NULL)
RtlFreeHeap(RtlGetProcessHeap(), 0, DbObject->Name);