Author: dchapyshev
Date: Sat Sep 12 14:14:21 2009
New Revision: 43034
URL:
http://svn.reactos.org/svn/reactos?rev=43034&view=rev
Log:
- Remove unused variable. Found by Amine Khaldi.
Modified:
trunk/reactos/base/applications/cacls/cacls.c
Modified: trunk/reactos/base/applications/cacls/cacls.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cacls/ca…
==============================================================================
--- trunk/reactos/base/applications/cacls/cacls.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/cacls/cacls.c [iso-8859-1] Sat Sep 12 14:14:21 2009
@@ -529,7 +529,6 @@
WIN32_FIND_DATA FindData;
HANDLE hFind;
DWORD LastError;
- BOOL ContinueAccessDenied = FALSE;
if (argc > 2)
{
@@ -572,8 +571,7 @@
{
LastError = GetLastError();
- if (LastError == ERROR_ACCESS_DENIED &&
- ContinueAccessDenied)
+ if (LastError == ERROR_ACCESS_DENIED)
{
PrintErrorMessage(LastError);
}