summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>2020-10-27 00:36:39 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-10-30 13:26:05 +0000
commit28475ae752967b0a14ed2554c1b835e96390f850 (patch)
tree0f2e8f7b19e0161153dd8bcf98fe97175ebb862e
parent20ef79a328be280e8779f31924ec33c1a4ca1758 (diff)
downloadbitbake-28475ae752967b0a14ed2554c1b835e96390f850.tar.gz
cache: remove unused variables.
Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/cache.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/bb/cache.py b/lib/bb/cache.py
index 9e0c931a0..ebb242249 100644
--- a/lib/bb/cache.py
+++ b/lib/bb/cache.py
@@ -449,9 +449,7 @@ class Cache(NoCache):
return cachesize
def load_cachefile(self, progress):
- cachesize = self.cachesize()
previous_progress = 0
- previous_percent = 0
for cache_class in self.caches_array:
cachefile = self.getCacheFile(cache_class.cachefile)