diff --git a/pdf.c b/pdf.c
index 90c94744d7d3e5e3be03c3e193752d3545fb78fd..c50cea5b54a57aef1aab4adc3e4659349943ac33 100644
--- a/pdf.c
+++ b/pdf.c
@@ -4900,13 +4900,6 @@ parse_xrefs(struct Env *aux)
 	size_t n = 0, nfwd = 0;
 	size_t offset = 0;
 
-	// Initialize the environment variables
-	// XXX not needed?!
-	aux->xrefs = xrefs;
-	aux->nxrefs = n;
-
-
-
 	/* search for the "startxref" section from the back of the file */
 	HParser *p = h_left(p_startxref, h_end_p());
 	for (size_t i = 0; i < sz; i++) {