[gs-commits] rev 10966 - branches/icc_work/psi

mvrhel at ghostscript.com mvrhel at ghostscript.com
Wed Mar 24 18:10:21 UTC 2010


Author: mvrhel
Date: 2010-03-24 18:10:21 +0000 (Wed, 24 Mar 2010)
New Revision: 10966

Modified:
   branches/icc_work/psi/zcie.c
Log:
Setting of code to avoid use of uninitialized value.

Modified: branches/icc_work/psi/zcie.c
===================================================================
--- branches/icc_work/psi/zcie.c	2010-03-24 17:26:38 UTC (rev 10965)
+++ branches/icc_work/psi/zcie.c	2010-03-24 18:10:21 UTC (rev 10966)
@@ -436,7 +436,7 @@
     gs_color_space *pcs;
     ref_cie_procs procs;
     gs_cie_defg *pcie;
-    int code;
+    int code = 0;
     ref *ptref;
     bool has_defg_procs, has_abc_procs, has_lmn_procs;
 
@@ -588,7 +588,7 @@
     gs_color_space *pcs;
     ref_cie_procs procs;
     gs_cie_abc *pcie;
-    int code=0;
+    int code = 0;
     bool has_lmn_procs, has_abc_procs;
 
 /* See if the color space is in the profile cache */



More information about the gs-commits mailing list