summaryrefslogtreecommitdiff
path: root/apps/pdfclean.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2011-03-06 14:25:41 +0000
committerTor Andersson <tor@ghostscript.com>2011-03-06 14:25:41 +0000
commitb5a4ed89c89dd94b21f4c9936abc2567a1553555 (patch)
tree5ee5dee10dc4f1d67c391bb3895b4d7bef24b197 /apps/pdfclean.c
parentade55e530539613b4ccc5184a4746091018a866b (diff)
downloadmupdf-b5a4ed89c89dd94b21f4c9936abc2567a1553555.tar.xz
Inhibit warning message spam by introducing a repeat counter.
Diffstat (limited to 'apps/pdfclean.c')
-rw-r--r--apps/pdfclean.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/pdfclean.c b/apps/pdfclean.c
index 8f51157a..2be479aa 100644
--- a/apps/pdfclean.c
+++ b/apps/pdfclean.c
@@ -769,5 +769,7 @@ int main(int argc, char **argv)
pdf_freexref(xref);
+ fz_flushwarnings();
+
return 0;
}