rem: ret = 1;
add: ret = false;
context: compare_files (char **infiles){  /* For each file, we have one linebuffer in lb1.  */  struct linebuffer lb1[2];  /* thisline[i] points to the linebuffer holding the next available line     in file i, or is NULL if there are no lines left in that file.  */  struct linebuffer *thisline[2];  /* streams[i] holds the input stream for file i.  */  FILE *streams[2];  int i, ret = 0;  /* Initialize the storage. */  for (i = 0; i < 2; i++)    {      initbuffer (&lb1[i]);      thisline[i] = &lb1[i];      streams[i] = (STREQ (infiles[i], "-") ? stdin : fopen (infiles[i], "r"));      if (!streams[i])	{	  error (0, errno, "%s", infiles[i]);	  return 1;	}      thisline[i] = readline (thisline[i], streams[i]);    }  while (thisline[0] || thisline[1])    {      int order;      /* Compare the next available lines of the two files.  */      if (!thisline[0])	order = 1;      else if (!thisline[1])	order = -1;      else	{	  if (HAVE_SETLOCALE && hard_LC_COLLATE)	    order = xmemcoll (thisline[0]->buffer, thisline[0]->length - 1,			      thisline[1]->buffer, thisline[1]->length - 1);	  else	    {	      size_t len = min (thisline[0]->length, thisline[1]->length) - 1;	      order = memcmp (thisline[0]->buffer, thisline[1]->buffer, len);	      if (order == 0)		order = (thisline[0]->length < thisline[1]->length			 ? -1			 : thisline[0]->length != thisline[1]->length);	    }	}      /* Output the line that is lesser. */      if (order == 0)	writeline (thisline[1], stdout, 3);      else if (order > 0)	writeline (thisline[1], stdout, 2);      else	writeline (thisline[0], stdout, 1);      /* Step the file the line came from.	 If the files match, step both files.  */      if (order >= 0)	thisline[1] = readline (thisline[1], streams[1]);      if (order <= 0)	thisline[0] = readline (thisline[0], streams[0]);    }  /* Free all storage and close all input streams. */  for (i = 0; i < 2; i++)    {      free (lb1[i].buffer);      if (ferror (streams[i]) || fclose (streams[i]) == EOF)	{	  error (0, errno, "%s", infiles[i]);	  ret = 1;	}    }  return ret;}