Author: pschweitzer
Date: Thu Jun 1 21:37:08 2017
New Revision: 74737
URL:
http://svn.reactos.org/svn/reactos?rev=74737&view=rev
Log:
[RDBSS]
Fix uninit var usage
CORE-13345
CORE-11327
Modified:
trunk/reactos/sdk/lib/drivers/rdbsslib/rdbss.c
Modified: trunk/reactos/sdk/lib/drivers/rdbsslib/rdbss.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/drivers/rdbsslib/r…
==============================================================================
--- trunk/reactos/sdk/lib/drivers/rdbsslib/rdbss.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/drivers/rdbsslib/rdbss.c [iso-8859-1] Thu Jun 1 21:37:08 2017
@@ -809,7 +809,7 @@
}
/* Validate name is correct */
- for (NextChar = 0; CurChar + 1 < MaxChars; NextChar = CurChar + 1)
+ for (NextChar = 0, CurChar = 0; CurChar + 1 < MaxChars; NextChar = CurChar + 1)
{
USHORT i;