summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poppler/Link.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/poppler/Link.cc b/poppler/Link.cc
index 38f4f3dd..0528db1a 100644
--- a/poppler/Link.cc
+++ b/poppler/Link.cc
@@ -401,10 +401,10 @@ LinkDest::LinkDest(const Array *a) {
// unknown link kind
} else {
error(errSyntaxWarning, -1, "Unknown annotation destination type");
+ return;
}
ok = true;
- return;
}
LinkDest::LinkDest(const LinkDest *dest) {