diff mercurial/ui.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 26ee61c33dee
children 7f366dd3df1f
line wrap: on
line diff
--- a/mercurial/ui.py	Mon Sep 24 14:46:37 2018 -0700
+++ b/mercurial/ui.py	Thu Jan 17 09:17:12 2019 -0800
@@ -566,8 +566,6 @@
             candidate = self._data(untrusted).get(s, n, None)
             if candidate is not None:
                 value = candidate
-                section = s
-                name = n
                 break
 
         if self.debugflag and not untrusted and self._reportuntrusted: