summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorHib Eris <hib@hiberis.nl>2014-10-24 11:35:17 +0200
committerAdrian Johnson <ajohnson@redneon.com>2014-10-24 20:21:41 +1030
commit53be607edc18a861aeb0b6663bac3c05de46c84c (patch)
treeb54b0156fc9bc3429ab13ca5721503be4faf69bf /utils
parentf966b8766d40b2c912e69a1e17ef8cc4bd52be95 (diff)
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
Diffstat (limited to 'utils')
-rw-r--r--utils/pdftocairo.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/pdftocairo.cc b/utils/pdftocairo.cc
index d7791231..13e1c63a 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