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

lpd at ghostscript.com lpd at ghostscript.com
Sun Jan 7 21:50:33 PST 2007


Author: lpd
Date: 2007-01-07 21:50:33 -0800 (Sun, 07 Jan 2007)
New Revision: 7581

Modified:
   trunk/gs/src/geninit.c
Log:
Cleans up a couple of compiler warnings.


Modified: trunk/gs/src/geninit.c
===================================================================
--- trunk/gs/src/geninit.c	2007-01-08 04:15:31 UTC (rev 7580)
+++ trunk/gs/src/geninit.c	2007-01-08 05:50:33 UTC (rev 7581)
@@ -178,7 +178,6 @@
 wsc(FILE * out, const byte *str, int len)
 {
     int n = 0;
-    const byte *p = str;
     int i;
 
     for (i = 0; i < len; ++i) {
@@ -290,7 +289,7 @@
 #define MAX_STR 0xffff	/* longest possible PostScript string token */
     byte *strbuf = (byte *)malloc(MAX_STR);
     byte *q = strbuf;
-    int c, digit;
+    int c;
     bool which = false;
     int len;
     byte prefix[3];



More information about the gs-cvs mailing list