From patchwork Tue Oct 27 04:36:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [bitbake-devel,1/2] bitbake: cache: remove unused variables. From: =?utf-8?q?Maxime_Roussin-B=C3=A9langer?= X-Patchwork-Id: 177488 Message-Id: <20201027043640.12167-1-maxime.roussinbelanger@gmail.com> To: bitbake-devel@lists.openembedded.org Cc: =?UTF-8?q?Maxime=20Roussin-B=C3=A9langer?= Date: Tue, 27 Oct 2020 00:36:39 -0400 Signed-off-by: Maxime Roussin-Bélanger --- bitbake/lib/bb/cache.py | 2 -- 1 file changed, 2 deletions(-) -- 2.28.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11775): https://lists.openembedded.org/g/bitbake-devel/message/11775 Mute This Topic: https://lists.openembedded.org/mt/77832895/1003190 Group Owner: bitbake-devel+owner@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/bitbake-devel/unsub [mhalstead@linuxfoundation.org] -=-=-=-=-=-=-=-=-=-=-=- diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index 9e0c931a07..ebb2422496 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/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)