store: drop unused existing list
authorMatt Mackall <mpm@selenic.com>
Thu, 03 Apr 2014 12:59:12 -0500
changeset 20929 afe0b48ef2d7
parent 20928 91b47139d0cb
child 20930 4a987060d97e
store: drop unused existing list
mercurial/store.py
--- a/mercurial/store.py	Tue Apr 01 14:33:23 2014 -0700
+++ b/mercurial/store.py	Thu Apr 03 12:59:12 2014 -0500
@@ -485,12 +485,10 @@
         return self.rawvfs.stat(path).st_size
 
     def datafiles(self):
-        existing = []
         for f in sorted(self.fncache):
             ef = self.encode(f)
             try:
                 yield f, ef, self.getsize(ef)
-                existing.append(f)
             except OSError, err:
                 if err.errno != errno.ENOENT:
                     raise