Skip to content

Commit ae7a064

Browse files
authored
BUG: Fix crashes by removing unnecessary line (#3293)
Closes #3292.
1 parent 15c42ff commit ae7a064

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pypdf/_doc_common.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,6 @@ def get_named_dest_root(self) -> ArrayObject:
422422
self.root_object[CA.NAMES], DictionaryObject
423423
):
424424
names = cast(DictionaryObject, self.root_object[CA.NAMES])
425-
names_ref = names.indirect_reference
426425
if CA.DESTS in names and isinstance(names[CA.DESTS], DictionaryObject):
427426
# §3.6.3 Name Dictionary (PDF spec 1.7)
428427
dests = cast(DictionaryObject, names[CA.DESTS])

0 commit comments

Comments
 (0)