All pastes #2130975 Raw Edit

Untitled

public text v1 · immutable
#2130975 ·published 2012-03-21 20:14 UTC
rendered paste body
diff --git a/apps/mupdfclean.c b/apps/mupdfclean.c
index 2b652d9..5b95fda 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;