D7757: fastannotate: drop unused local variable assignments

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Sat Dec 28 01:29:22 UTC 2019


mharbison72 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  Flagged by PyCharm.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D7757

AFFECTED FILES
  hgext/fastannotate/support.py

CHANGE DETAILS

diff --git a/hgext/fastannotate/support.py b/hgext/fastannotate/support.py
--- a/hgext/fastannotate/support.py
+++ b/hgext/fastannotate/support.py
@@ -74,7 +74,6 @@
     may raise Exception, and always return line numbers.
     """
     master = _getmaster(fctx)
-    annotated = contents = None
 
     with context.fctxannotatecontext(fctx, follow, diffopts) as ac:
         try:



To: mharbison72, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list