utils/checkpackagelib: remove unused variable

The `self.pending_patch` is set but unused.

Fixes: b00ac4e346 utils/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 commit 3ac595bdd1)
Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
This commit is contained in:
Thomas Perale
2026-09-18 11:11:40 +02:00
committed by Raphaël Mélotte
parent a682d7e1aa
commit 949aebfaa6

View File

@@ -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"