summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpdfsdk/fpdf_doc.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/fpdfsdk/fpdf_doc.cpp b/fpdfsdk/fpdf_doc.cpp
index d3c8e23818..e7b9042479 100644
--- a/fpdfsdk/fpdf_doc.cpp
+++ b/fpdfsdk/fpdf_doc.cpp
@@ -51,9 +51,6 @@ CPDF_Bookmark FindBookmark(const CPDF_BookmarkTree& tree,
}
CPDF_LinkList* GetLinkList(CPDF_Page* page) {
- if (!page)
- return nullptr;
-
CPDF_Document* pDoc = page->GetDocument();
std::unique_ptr<CPDF_LinkList>* pHolder = pDoc->LinksContext();
if (!pHolder->get())