From f20b6024713e480e8bc47dfc53e82aa46ebfb28e Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 31 Mar 2016 15:13:49 +0200 Subject: Initialize pdf write options to zero in pdfclean. --- source/tools/pdfclean.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/tools') diff --git a/source/tools/pdfclean.c b/source/tools/pdfclean.c index 94e2b91b..f703b155 100644 --- a/source/tools/pdfclean.c +++ b/source/tools/pdfclean.c @@ -37,7 +37,7 @@ int pdfclean_main(int argc, char **argv) char *outfile = "out.pdf"; char *password = ""; int c; - pdf_write_options opts; + pdf_write_options opts = { 0 }; int errors = 0; fz_context *ctx; -- cgit v1.2.3