From bdb6b688a238df56b2cf47fa17a08a4dd4b7a122 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 21 Mar 2012 21:19:04 +0100 Subject: Fix warning where we return nothing rather than NULL in sweepref. --- apps/mupdfclean.c | 4 ++-- 1 file 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; -- cgit v1.2.3