diff mercurial/thirdparty/xdiff/xprepare.c @ 36823:49fe6249937a

xdiff: remove unused flags parameter After D2683, the flags parameter in some functions is no longer needed. Thus removed. Differential Revision: https://phab.mercurial-scm.org/D2763
author Jun Wu <quark@fb.com>
date Fri, 09 Mar 2018 14:37:55 -0800
parents 882657a9f768
children f0d9811dda8e
line wrap: on
line diff
--- a/mercurial/thirdparty/xdiff/xprepare.c	Fri Mar 09 14:24:27 2018 -0800
+++ b/mercurial/thirdparty/xdiff/xprepare.c	Fri Mar 09 14:37:55 2018 -0800
@@ -118,7 +118,7 @@
 	for (rcrec = cf->rchash[hi]; rcrec; rcrec = rcrec->next)
 		if (rcrec->ha == rec->ha &&
 				xdl_recmatch(rcrec->line, rcrec->size,
-					rec->ptr, rec->size, cf->flags))
+					rec->ptr, rec->size))
 			break;
 
 	if (!rcrec) {
@@ -273,7 +273,7 @@
 	if ((cur = blk = xdl_mmfile_first(mf, &bsize)) != NULL) {
 		for (top = blk + bsize; cur < top; ) {
 			prev = cur;
-			hav = xdl_hash_record(&cur, top, xpp->flags);
+			hav = xdl_hash_record(&cur, top);
 			if (nrec >= narec) {
 				narec *= 2;
 				if (!(rrecs = (xrecord_t **) xdl_realloc(recs, narec * sizeof(xrecord_t *))))