mercurial/parsers.c
changeset 27341 5042b999ef0a
parent 27226 f5e8cb813a4d
child 27364 ad1cc1435b13
--- a/mercurial/parsers.c	Sat Dec 12 20:10:33 2015 -0800
+++ b/mercurial/parsers.c	Sat Dec 12 20:57:01 2015 -0800
@@ -1995,19 +1995,19 @@
 
 		for (i = 0; i < 2; i++) {
 			int p = parents[i];
-			long nsp, sp;
+			long sp;
 			int dp;
 
 			if (p == -1)
 				continue;
 
 			dp = depth[p];
-			nsp = sp = seen[p];
+			sp = seen[p];
 			if (dp <= dv) {
 				depth[p] = dv + 1;
 				if (sp != sv) {
 					interesting[sv] += 1;
-					nsp = seen[p] = sv;
+					seen[p] = sv;
 					if (sp) {
 						interesting[sp] -= 1;
 						if (interesting[sp] == 0)
@@ -2016,7 +2016,7 @@
 				}
 			}
 			else if (dv == dp - 1) {
-				nsp = sp | sv;
+				long nsp = sp | sv;
 				if (nsp == sp)
 					continue;
 				seen[p] = nsp;