mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-24 09:52:07 -09:00
utils/checkpackagelib: remove unused variable
The `self.pending_patch` is set but unused. Fixes:b00ac4e346utils/checkpackagelib: add new check MissingCVEPatch Signed-off-by: Thomas Perale <thomas.perale@mind.be> Signed-off-by: Arnout Vandecappelle <arnout@rnout.be> (cherry picked from commit3ac595bdd1) Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
This commit is contained in:
committed by
Raphaël Mélotte
parent
a682d7e1aa
commit
949aebfaa6
@@ -130,7 +130,6 @@ class MissingCVEPatch(_CheckFunction):
|
||||
def check_patch_files(self):
|
||||
for patch_lineno, patch_name, patch_text in self.pending_patches:
|
||||
patch_file = self.package_dir / patch_name
|
||||
self.pending_patch = None
|
||||
|
||||
if not patch_file.is_file():
|
||||
return ["{}:{}: patch file '{}' mentioned for ignored CVEs is missing"
|
||||
|
||||
Reference in New Issue
Block a user