[gs-cvs] gs/src

Igor Melichev igor at ghostscript.com
Tue Mar 15 03:36:40 PST 2005


Update of /cvs/ghostscript/gs/src
In directory casper2:/tmp/cvs-serv28252/gs/src

Modified Files:
	gdevpdtc.c gstype42.c gxhintn.c gxshade6.c 
Log Message:
Fix : Cygwin/gcc warnings.

EXPECTED DIFFERENCES :

None.


Index: gdevpdtc.c
===================================================================
RCS file: /cvs/ghostscript/gs/src/gdevpdtc.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- gdevpdtc.c	3 Mar 2005 13:15:55 -0000	1.40
+++ gdevpdtc.c	15 Mar 2005 11:36:37 -0000	1.41
@@ -338,7 +338,6 @@
 	    double *real_widths, *w, *v, *w0;
 	    int char_cache_size, width_cache_size;
 	    uint cid;
-	    gs_char unicode_char;
 
 	    break_index = scan.index;
 	    break_xy_index = scan.xy_index;

Index: gstype42.c
===================================================================
RCS file: /cvs/ghostscript/gs/src/gstype42.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- gstype42.c	1 Mar 2005 20:44:01 -0000	1.50
+++ gstype42.c	15 Mar 2005 11:36:37 -0000	1.51
@@ -394,7 +394,6 @@
 {
     int (*string_proc) (gs_font_type42 *, ulong, uint, const byte **) =
 	pfont->data.string_proc;
-    const byte *ploca;
     ulong glyph_start;
     uint glyph_length;
     int code;

Index: gxhintn.c
===================================================================
RCS file: /cvs/ghostscript/gs/src/gxhintn.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- gxhintn.c	10 Mar 2005 16:34:41 -0000	1.57
+++ gxhintn.c	15 Mar 2005 11:36:37 -0000	1.58
@@ -786,7 +786,7 @@
     return 0;
 }
 
-private void enable_draw_import()
+private void enable_draw_import(void)
 {   /* CAUTION: can't close DC on import error */
     vd_get_dc('h');
     vd_set_shift(VD_SHIFT_X, VD_SHIFT_Y);

Index: gxshade6.c
===================================================================
RCS file: /cvs/ghostscript/gs/src/gxshade6.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- gxshade6.c	22 Feb 2005 15:41:42 -0000	1.91
+++ gxshade6.c	15 Mar 2005 11:36:37 -0000	1.92
@@ -3159,11 +3159,12 @@
 		    code = is_quadrangle_color_linear_by_diagonals(pfs, p);
 		    if (code < 0)
 			return code;
-		    if (!code)
+		    if (!code) {
 			if (d0001x + d1011x+ d0001y + d1011y > d0010x + d0111x + d0010y + d0111y)
 			    divide_u = true;
 			else
 			    divide_v = true;
+		    }
 		}
 		if (!divide_u && !divide_v)
 		    pfs->monotonic_color = true;



More information about the gs-cvs mailing list