summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/mupdfclean.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/mupdfclean.c b/apps/mupdfclean.c
index 2b652d99..5b95fdae 100644
--- a/apps/mupdfclean.c
+++ b/apps/mupdfclean.c
@@ -59,9 +59,9 @@ static pdf_obj *sweepref(pdf_obj *obj)
int gen = pdf_to_gen(obj);
if (num < 0 || num >= xref->len)
- return;
+ return NULL;
if (uselist[num])
- return;
+ return NULL;
uselist[num] = 1;