[COMP]
authorThomas Faber <thomas.faber@reactos.org>
Fri, 2 May 2014 15:46:23 +0000 (15:46 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Fri, 2 May 2014 15:46:23 +0000 (15:46 +0000)
- Remove broken/unnecessary assignments. Patch by Víctor Martínez
CORE-8143 #resolve

svn path=/trunk/; revision=63110

reactos/base/applications/cmdutils/comp/comp.c

index 0bec824..15a0db4 100644 (file)
@@ -58,7 +58,6 @@ VOID Usage(VOID)
 int _tmain (int argc, TCHAR *argv[])\r
 {\r
     INT i;\r
-    INT LineLen1, LineLen2;\r
     FILE *fp1, *fp2;           // file pointers\r
     PTCHAR Line1 = (TCHAR *)malloc(STRBUF * sizeof(TCHAR));\r
     PTCHAR Line2 = (TCHAR *)malloc(STRBUF * sizeof(TCHAR));\r
@@ -156,8 +155,8 @@ int _tmain (int argc, TCHAR *argv[])
 \r
     _tprintf(_T("Comparing %s and %s...\n"), File1, File2);\r
 \r
-    while ((LineLen1 = GetLine(Line1, fp1) != 0) &&\r
-           (LineLen2 = GetLine(Line2, fp2) != 0))\r
+    while ((GetLine(Line1, fp1) != 0) &&\r
+           (GetLine(Line2, fp2) != 0))\r
     {\r
         // LineCount++;\r
         while ((*Line1 != '\0') && (*Line2 != '\0'))\r