diff hgext/rebase.py @ 41365:876494fd967d

cleanup: delete lots of unused local variables These were found by IntelliJ. There are many more, but these seemed pretty safe. Differential Revision: https://phab.mercurial-scm.org/D5629
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 17 Jan 2019 09:17:12 -0800
parents 6acbe86c6490
children 0f64091cc851
line wrap: on
line diff
--- a/hgext/rebase.py	Mon Sep 24 14:46:37 2018 -0700
+++ b/hgext/rebase.py	Thu Jan 17 09:17:12 2019 -0800
@@ -1804,7 +1804,6 @@
 
 def pullrebase(orig, ui, repo, *args, **opts):
     'Call rebase after pull if the latter has been invoked with --rebase'
-    ret = None
     if opts.get(r'rebase'):
         if ui.configbool('commands', 'rebase.requiredest'):
             msg = _('rebase destination required by configuration')