summaryrefslogtreecommitdiff
path: root/platform/x11
diff options
context:
space:
mode:
Diffstat (limited to 'platform/x11')
-rw-r--r--platform/x11/pdfapp.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/platform/x11/pdfapp.c b/platform/x11/pdfapp.c
index 37ef2181..77b6244a 100644
--- a/platform/x11/pdfapp.c
+++ b/platform/x11/pdfapp.c
@@ -527,13 +527,9 @@ static int pdfapp_save(pdfapp_t *app)
if (wingetsavepath(app, buf, PATH_MAX))
{
- pdf_write_options opts;
+ pdf_write_options opts = { 0 };
opts.do_incremental = 1;
- opts.do_ascii = 0;
- opts.do_expand = 0;
- opts.do_garbage = 0;
- opts.do_linear = 0;
if (strcmp(buf, app->docpath) != 0)
{