[BOOTVID] Don't increment an uninitialized and unused variable, bug #5103
[reactos.git] / reactos / drivers / base / bootvid / i386 / bootvid.c
index 3d0ae50..08d0dc1 100644 (file)
@@ -155,7 +155,7 @@ VgaInterpretCmdStream(IN PUSHORT CmdStream)
                     if (!ShortValue) continue;
 
                     /* Loop the cmd array */
                     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;
                     {
                         /* Get the byte we're writing */
                         ShortValue += (*CmdStream) << 8;