summaryrefslogtreecommitdiff
path: root/apps/mupdfclean.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2012-03-21 21:19:04 +0100
committerTor Andersson <tor.andersson@artifex.com>2012-03-21 21:19:04 +0100
commitbdb6b688a238df56b2cf47fa17a08a4dd4b7a122 (patch)
treee504bccfb27aba1c93f9153654e6962934b79145 /apps/mupdfclean.c
parent3960e9a02f4064422645b1e65230fe39708dd48f (diff)
downloadmupdf-bdb6b688a238df56b2cf47fa17a08a4dd4b7a122.tar.xz
Fix warning where we return nothing rather than NULL in sweepref.
Diffstat (limited to 'apps/mupdfclean.c')
-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;