[gs-commits] rev 11438 - trunk/gs/base

mvrhel at ghostscript.com mvrhel at ghostscript.com
Mon Jun 28 10:50:53 UTC 2010


Author: mvrhel
Date: 2010-06-28 10:50:53 +0000 (Mon, 28 Jun 2010)
New Revision: 11438

Modified:
   trunk/gs/base/gsicc_littlecms.c
Log:
Warnings of problems within lcms only occur now in debug mode.  Fix for Bug 691401

Modified: trunk/gs/base/gsicc_littlecms.c
===================================================================
--- trunk/gs/base/gsicc_littlecms.c	2010-06-28 06:13:11 UTC (rev 11437)
+++ trunk/gs/base/gsicc_littlecms.c	2010-06-28 10:50:53 UTC (rev 11438)
@@ -26,9 +26,12 @@
 #define DEBUG_LCMS_MEM 0
 #define LCMS_BYTES_MASK 0x7
 
+/* Only provide warning about issues in lcms if debug build */
 static int
 gscms_error(int error_code, const char *error_text){
+#ifdef DEBUG
     gs_warn1("cmm error : %s",error_text);
+#endif
     return(1);
 }
 



More information about the gs-commits mailing list