Author: hbelusca
Date: Fri Mar 8 21:22:05 2013
New Revision: 58445
URL:
http://svn.reactos.org/svn/reactos?rev=58445&view=rev
Log:
The 'i' variable being only used for displaying the array of parameters (when
debug output is enabled), disable it also to avoid "error: unused variable
'i'".
Modified:
trunk/reactos/base/system/services/rpcserver.c
Modified: trunk/reactos/base/system/services/rpcserver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/rpcse…
==============================================================================
--- trunk/reactos/base/system/services/rpcserver.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/services/rpcserver.c [iso-8859-1] Fri Mar 8 21:22:05 2013
@@ -2896,9 +2896,10 @@
PSERVICE_HANDLE hSvc;
PSERVICE lpService = NULL;
SC_RPC_LOCK Lock = NULL;
+
+#ifndef NDEBUG
DWORD i;
-#ifndef NDEBUG
DPRINT("RStartServiceW(%p %lu %p) called\n", hService, argc, argv);
DPRINT(" argc: %lu\n", argc);
if (argv != NULL)