[poppler] utils/pdftocairo.cc
Adrian Johnson
ajohnson at kemper.freedesktop.org
Fri Oct 24 02:53:13 PDT 2014
utils/pdftocairo.cc | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 53be607edc18a861aeb0b6663bac3c05de46c84c
Author: Hib Eris <hib at hiberis.nl>
Date: Fri Oct 24 11:35:17 2014 +0200
Fix warning on unused variable in pdftocairo.cc
Fixes warning:
CXX pdftocairo-pdftocairo.o
pdftocairo.cc:130:14: warning: âsetupdlgâ defined but not used [-Wunused-variable]
static GBool setupdlg = gFalse;
^
https://bugs.freedesktop.org/show_bug.cgi?id=85400
diff --git a/utils/pdftocairo.cc b/utils/pdftocairo.cc
index d779123..13e1c63 100644
--- a/utils/pdftocairo.cc
+++ b/utils/pdftocairo.cc
@@ -127,7 +127,9 @@ static GBool printHelp = gFalse;
static GooString printer;
static GooString printOpt;
+#ifdef CAIRO_HAS_WIN32_SURFACE
static GBool setupdlg = gFalse;
+#endif
static const ArgDesc argDesc[] = {
#if ENABLE_LIBPNG
More information about the poppler
mailing list