[gs-cvs] rev 7776 - trunk/gs/src

raph at ghostscript.com raph at ghostscript.com
Thu Mar 8 09:24:28 PST 2007


Author: raph
Date: 2007-03-08 09:24:28 -0800 (Thu, 08 Mar 2007)
New Revision: 7776

Modified:
   trunk/gs/src/zcsindex.c
Log:
Remove unnecessary zeroing out of reference count of indexed color space
map structure. Eliminates warnings when run with -Z?


Modified: trunk/gs/src/zcsindex.c
===================================================================
--- trunk/gs/src/zcsindex.c	2007-03-08 00:27:45 UTC (rev 7775)
+++ trunk/gs/src/zcsindex.c	2007-03-08 17:24:28 UTC (rev 7776)
@@ -178,8 +178,6 @@
 
     if (code < 0)
 	return code;
-    /* Set the reference count to 0 rather than 1. */
-    rc_init_free(map, mem, 0, free_indexed_map);
     *pmap = map;
     /* Map the entire set of color indices.  Since the */
     /* o-stack may not be able to hold N*4096 values, we have */



More information about the gs-cvs mailing list