# HG changeset patch # User Matt Harbison # Date 1577470282 18000 # Node ID 68b09ebf1c1369db967a24570f0c575ae1b9d369 # Parent 5ce6daa676589f40a064c6ad88e70ee616c56ff4 ancestor: drop another unused variable assignment Also caught by PyCharm. The only time this is used is immediately after another assignment below this. Differential Revision: https://phab.mercurial-scm.org/D7737 diff -r 5ce6daa67658 -r 68b09ebf1c13 mercurial/ancestor.py --- a/mercurial/ancestor.py Fri Dec 27 13:05:22 2019 -0500 +++ b/mercurial/ancestor.py Fri Dec 27 13:11:22 2019 -0500 @@ -108,12 +108,12 @@ if p == nullrev: 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: