diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-03-21 21:19:04 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-03-21 21:19:04 +0100 |
commit | bdb6b688a238df56b2cf47fa17a08a4dd4b7a122 (patch) | |
tree | e504bccfb27aba1c93f9153654e6962934b79145 | |
parent | 3960e9a02f4064422645b1e65230fe39708dd48f (diff) | |
download | mupdf-bdb6b688a238df56b2cf47fa17a08a4dd4b7a122.tar.xz |
Fix warning where we return nothing rather than NULL in sweepref.
-rw-r--r-- | apps/mupdfclean.c | 4 |
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; |