From 56248b84e2185483dd54704c13838e8f78029d49 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Thu, 18 Aug 2011 12:40:51 +0200 Subject: Only declare overprint if we are going to use it --- utils/pdftoppm.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/pdftoppm.cc b/utils/pdftoppm.cc index 09233771..5c4c4a78 100644 --- a/utils/pdftoppm.cc +++ b/utils/pdftoppm.cc @@ -18,7 +18,7 @@ // Copyright (C) 2009 Michael K. Johnson // Copyright (C) 2009 Shen Liang // Copyright (C) 2009 Stefan Thomas -// Copyright (C) 2009, 2010 Albert Astals Cid +// Copyright (C) 2009-2011 Albert Astals Cid // Copyright (C) 2010 Adrian Johnson // Copyright (C) 2010 Hib Eris // Copyright (C) 2010 Jonathan Liu @@ -74,7 +74,9 @@ static GBool png = gFalse; static GBool jpeg = gFalse; static GBool jpegcmyk = gFalse; static GBool tiff = gFalse; +#if SPLASH_CMYK static GBool overprint = gFalse; +#endif static char enableFreeTypeStr[16] = ""; static char antialiasStr[16] = ""; static char vectorAntialiasStr[16] = ""; -- cgit v1.2.3