summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHib Eris <hib@hiberis.nl>2014-10-24 09:35:17 (GMT)
committerAdrian Johnson <ajohnson@redneon.com>2014-10-24 09:51:41 (GMT)
commit53be607edc18a861aeb0b6663bac3c05de46c84c (patch)
treeb54b0156fc9bc3429ab13ca5721503be4faf69bf
parentf966b8766d40b2c912e69a1e17ef8cc4bd52be95 (diff)
Fix warning on unused variable in pdftocairo.ccHEADmaster
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
-rw-r--r--utils/pdftocairo.cc2
1 files changed, 2 insertions, 0 deletions
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