Author: tfaber
Date: Fri May 2 15:46:23 2014
New Revision: 63110
URL:
http://svn.reactos.org/svn/reactos?rev=63110&view=rev
Log:
[COMP]
- Remove broken/unnecessary assignments. Patch by Víctor Martínez
CORE-8143 #resolve
Modified:
trunk/reactos/base/applications/cmdutils/comp/comp.c
Modified: trunk/reactos/base/applications/cmdutils/comp/comp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils…
==============================================================================
--- trunk/reactos/base/applications/cmdutils/comp/comp.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/cmdutils/comp/comp.c [iso-8859-1] Fri May 2 15:46:23
2014
@@ -58,7 +58,6 @@
int _tmain (int argc, TCHAR *argv[])
{
INT i;
- INT LineLen1, LineLen2;
FILE *fp1, *fp2; // file pointers
PTCHAR Line1 = (TCHAR *)malloc(STRBUF * sizeof(TCHAR));
PTCHAR Line2 = (TCHAR *)malloc(STRBUF * sizeof(TCHAR));
@@ -156,8 +155,8 @@
_tprintf(_T("Comparing %s and %s...\n"), File1, File2);
- while ((LineLen1 = GetLine(Line1, fp1) != 0) &&
- (LineLen2 = GetLine(Line2, fp2) != 0))
+ while ((GetLine(Line1, fp1) != 0) &&
+ (GetLine(Line2, fp2) != 0))
{
// LineCount++;
while ((*Line1 != '\0') && (*Line2 != '\0'))