[gs-cvs] rev 8716 - trunk/gs/src
ray at ghostscript.com
ray at ghostscript.com
Thu May 8 12:35:27 PDT 2008
Author: ray
Date: 2008-05-08 12:35:26 -0700 (Thu, 08 May 2008)
New Revision: 8716
Modified:
trunk/gs/src/gxclrast.c
Log:
Clean up gcc compiler warnings for unused 'st' and no prototype for
gx_pattern_cache_free (from gxpcolor.h).
Modified: trunk/gs/src/gxclrast.c
===================================================================
--- trunk/gs/src/gxclrast.c 2008-05-08 19:10:40 UTC (rev 8715)
+++ trunk/gs/src/gxclrast.c 2008-05-08 19:35:26 UTC (rev 8716)
@@ -36,6 +36,7 @@
#include "gxdhtres.h"
#include "gxgetbit.h"
#include "gxpaint.h" /* for gx_fill/stroke_params */
+#include "gxpcolor.h"
#include "gxhttile.h"
#include "gxiparam.h"
#include "gximask.h"
@@ -525,7 +526,9 @@
gx_device_clip clipper_dev;
bool clipper_dev_open;
patch_fill_state_t pfs;
+#ifdef DEBUG
stream_state *st = s->state; /* Save because s_close resets s->state. */
+#endif
gs_composite_t *pcomp_first = NULL, *pcomp_last = NULL;
cbuf.data = (byte *)cbuf_storage;
@@ -2171,7 +2174,9 @@
if (cleft < bytes && !pcb->end_status) {
uint nread = cbuf_size - cleft;
+# ifdef DEBUG
stream_state *st = pcb->s->state;
+# endif
# ifdef DEBUG
{
More information about the gs-cvs
mailing list