[poppler] test/gtk-test.cc
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Mar 8 14:32:19 UTC 2022
test/gtk-test.cc | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit d55227d2533ae52d08823bd135bb3608b3b779a3
Author: Albert Astals Cid <aacid at kde.org>
Date: Tue Mar 8 15:22:39 2022 +0100
Fix easy warning when building on mingw
diff --git a/test/gtk-test.cc b/test/gtk-test.cc
index 1a847f1b..d9595934 100644
--- a/test/gtk-test.cc
+++ b/test/gtk-test.cc
@@ -21,7 +21,9 @@
static int requested_page = 0;
static gboolean cairo_output = FALSE;
static gboolean splash_output = FALSE;
+#ifndef G_OS_WIN32
static gboolean args_are_fds = FALSE;
+#endif
static const char **file_arguments = nullptr;
static const GOptionEntry options[] = { { "cairo", 'c', 0, G_OPTION_ARG_NONE, &cairo_output, "Cairo Output Device", nullptr },
{ "splash", 's', 0, G_OPTION_ARG_NONE, &splash_output, "Splash Output Device", nullptr },
More information about the poppler
mailing list