diff mercurial/verify.py @ 7874:d812029cda85

cleanup: drop variables for unused return values They are unnecessary. I did leave them in localrepo.py where there is something like: _junk = foo() _junk = None to free memory early. I don't know if just `foo()` will free the return value as early.
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
date Mon, 23 Mar 2009 13:13:02 +0100
parents 794def2fe232
children edf2d83a11aa
line wrap: on
line diff
--- a/mercurial/verify.py	Mon Mar 23 13:12:07 2009 +0100
+++ b/mercurial/verify.py	Mon Mar 23 13:13:02 2009 +0100
@@ -219,7 +219,7 @@
                         warn(_("warning: %s@%s: copy source revision is nullid %s:%s")
                             % (f, lr, rp[0], short(rp[1])))
                     else:
-                        rev = fl2.rev(rp[1])
+                        fl2.rev(rp[1])
             except Exception, inst:
                 exc(lr, _("checking rename of %s") % short(n), inst, f)