Patchwork D7757: fastannotate: drop unused local variable assignments

login
register
mail settings
Submitter phabricator
Date Dec. 28, 2019, 1:29 a.m.
Message ID <differential-rev-PHID-DREV-d45e4fjae2ff3nwxiult-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/44099/
State Superseded
Headers show

Comments

phabricator - Dec. 28, 2019, 1:29 a.m.
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




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

Patch

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: