commit 512de3c2ead8ba1a54f5b7d4e4fd9050854ccc78 from: Sven M. Hallberg date: Thu Mar 30 16:38:58 2023 UTC remove a comment I cannot tell what this refers to. The (nonexistent) else case of the if statement above it is simply the case of the object number in question not falling within this subsection. Anyway, the function lookup_xref() is a low-level utility used during parsing, not a place to produce error messages. commit - c8be9e8432f98ec8d146fda0d5ce02958a68ecc4 commit + 512de3c2ead8ba1a54f5b7d4e4fd9050854ccc78 blob - 144724bffd29935267b8fdcb759697f93218deee blob + afd483c12119475d69038c51a3298e6e2a031211 --- pdf.c +++ pdf.c @@ -2704,7 +2704,6 @@ lookup_xref(struct Env *aux, size_t nr, size_t gen) if (nr >= base && nr - base < n) return H_INDEX(XREntry, ss, 1, nr - base); - // TODO: Generate a more meaningful error message -- p_viol, error ontology category } }