summaryrefslogtreecommitdiff
path: root/apps/pdfshow.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/pdfshow.c
parentade55e530539613b4ccc5184a4746091018a866b (diff)
downloadmupdf-b5a4ed89c89dd94b21f4c9936abc2567a1553555.tar.xz
Inhibit warning message spam by introducing a repeat counter.
Diffstat (limited to 'apps/pdfshow.c')
-rw-r--r--apps/pdfshow.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/pdfshow.c b/apps/pdfshow.c
index eda01e30..4eda9b81 100644
--- a/apps/pdfshow.c
+++ b/apps/pdfshow.c
@@ -234,5 +234,7 @@ int main(int argc, char **argv)
pdf_freexref(xref);
+ fz_flushwarnings();
+
return 0;
}