summaryrefslogtreecommitdiff
path: root/pdf/pdf_repair.c
diff options
context:
space:
mode:
Diffstat (limited to 'pdf/pdf_repair.c')
-rw-r--r--pdf/pdf_repair.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/pdf/pdf_repair.c b/pdf/pdf_repair.c
index 7930b5b5..bfa89751 100644
--- a/pdf/pdf_repair.c
+++ b/pdf/pdf_repair.c
@@ -192,12 +192,12 @@ pdf_repair_xref(pdf_xref *xref, char *buf, int bufsize)
fz_obj *dict, *obj;
fz_obj *length;
- fz_obj * volatile encrypt = NULL;
- fz_obj * volatile id = NULL;
- fz_obj * volatile root = NULL;
- fz_obj * volatile info = NULL;
+ fz_obj *encrypt = NULL;
+ fz_obj *id = NULL;
+ fz_obj *root = NULL;
+ fz_obj *info = NULL;
- struct entry * volatile list = NULL;
+ struct entry *list = NULL;
int listlen;
int listcap;
int maxnum = 0;
@@ -211,6 +211,12 @@ pdf_repair_xref(pdf_xref *xref, char *buf, int bufsize)
int i, n, c;
fz_context *ctx = xref->ctx;
+ fz_var(encrypt);
+ fz_var(id);
+ fz_var(root);
+ fz_var(info);
+ fz_var(list);
+
fz_seek(xref->file, 0, 0);
fz_try(ctx)