chore: remove unused ext local in PDF image block handling

Filename is always built as `.png` regardless of the source ext, so the
variable was dead. Flagged by github-code-quality.
This commit is contained in:
mountain 2026-05-12 14:38:41 +08:00
parent 3595956f7c
commit cbea31d1a2

View file

@ -73,7 +73,6 @@ class PdfParser:
continue
image_bytes = block.get("image")
ext = block.get("ext", "png")
if not image_bytes:
continue