Author: gschneider
Date: Sat May 29 14:57:29 2010
New Revision: 47409
URL:
http://svn.reactos.org/svn/reactos?rev=47409&view=rev
Log:
[BOOTVID] Don't increment an uninitialized and unused variable, bug #5103
Modified:
trunk/reactos/drivers/base/bootvid/i386/bootvid.c
Modified: trunk/reactos/drivers/base/bootvid/i386/bootvid.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/base/bootvid/i386/…
==============================================================================
--- trunk/reactos/drivers/base/bootvid/i386/bootvid.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/base/bootvid/i386/bootvid.c [iso-8859-1] Sat May 29 14:57:29
2010
@@ -155,7 +155,7 @@
if (!ShortValue) continue;
/* Loop the cmd array */
- for (; Count; Count--, CmdStream++, Value++)
+ for (; Count; Count--, CmdStream++)
{
/* Get the byte we're writing */
ShortValue += (*CmdStream) << 8;