[gs-cvs] rev 8169 - trunk/gs/src
alexcher at ghostscript.com
alexcher at ghostscript.com
Wed Aug 1 21:08:11 PDT 2007
Author: alexcher
Date: 2007-08-01 21:08:11 -0700 (Wed, 01 Aug 2007)
New Revision: 8169
Modified:
trunk/gs/src/gximage3.c
Log:
Pacify Valgrind - initialise both operands of the product. Valgrind considers
a product of 0 and an uninitialized value to be uninitialized. Bug 689384.
DIFFERENCES:
None
Modified: trunk/gs/src/gximage3.c
===================================================================
--- trunk/gs/src/gximage3.c 2007-08-02 01:50:18 UTC (rev 8168)
+++ trunk/gs/src/gximage3.c 2007-08-02 04:08:11 UTC (rev 8169)
@@ -534,7 +534,7 @@
mask_plane.data = mptr;
mask_plane.data_x = 0;
- /* raster doesn't matter */
+ mask_plane.raster = 0; /* raster doesn't matter, pacify Valgrind */
pixel_plane.data = pptr;
pixel_plane.data_x = 0;
/* raster doesn't matter */
More information about the gs-cvs
mailing list