filelog: remove unused variable 'lkr'
authorMartin von Zweigbergk <martinvonz@google.com>
Mon, 12 Jan 2015 09:48:05 -0800
changeset 23820 60178888be05
parent 23819 6bf93440a717
child 23821 7a7f437ab63d
filelog: remove unused variable 'lkr' It's used further down, but it's overwritten before, so it's technically a dead assignment, but unnecessary nevertheless.
mercurial/revset.py
--- a/mercurial/revset.py	Sat Jan 10 12:00:03 2015 -0500
+++ b/mercurial/revset.py	Mon Jan 12 09:48:05 2015 -0800
@@ -805,7 +805,7 @@
         lowesthead = None # cache for manifest content of all head revisions
         fl = repo.file(f)
         for fr in list(fl):
-            lkr = rev = fl.linkrev(fr)
+            rev = fl.linkrev(fr)
             if rev not in cl:
                 # changerev pointed in linkrev is filtered
                 # record it for post processing.