[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: pcb.git: branch: master updated (0d39e62943da3b0686b2f41a53ddb9b4f0b4b20e)



The branch, master has been updated
       via  0d39e62943da3b0686b2f41a53ddb9b4f0b4b20e (commit)
      from  7433061c74f1fadcb5bbdccdaea5850be19dd1cc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 src/hid/gcode/gcode.c |    5 -----
 src/hid/nelma/nelma.c |    5 -----
 2 files changed, 0 insertions(+), 10 deletions(-)


=================
 Commit Messages
=================

commit 0d39e62943da3b0686b2f41a53ddb9b4f0b4b20e
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    hid/{nelma,gcode}: Remove assigned but unused variables lastcap and lastgroup

:100644 100644 07e3d35... a4377db... M	src/hid/gcode/gcode.c
:100644 100644 e91594b... d5a58d8... M	src/hid/nelma/nelma.c

=========
 Changes
=========

commit 0d39e62943da3b0686b2f41a53ddb9b4f0b4b20e
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    hid/{nelma,gcode}: Remove assigned but unused variables lastcap and lastgroup

diff --git a/src/hid/gcode/gcode.c b/src/hid/gcode/gcode.c
index 07e3d35..a4377db 100644
--- a/src/hid/gcode/gcode.c
+++ b/src/hid/gcode/gcode.c
@@ -93,9 +93,7 @@ struct hid_gc_struct
 
 static struct color_struct *black = NULL, *white = NULL;
 static int linewidth = -1;
-static int lastgroup = -1;
 static gdImagePtr lastbrush = (gdImagePtr)((void *) -1);
-static int lastcap = -1;
 static int lastcolor = -1;
 
 /* gd image and file for PNG export */
@@ -369,10 +367,7 @@ gcode_start_png_export ()
 
   linewidth = -1;
   lastbrush = (gdImagePtr)((void *) -1);
-  lastcap = -1;
-  lastgroup = -1;
   lastcolor = -1;
-  lastgroup = -1;
 
   hid_expose_callback (&gcode_hid, &region, 0);
 }
diff --git a/src/hid/nelma/nelma.c b/src/hid/nelma/nelma.c
index e91594b..d5a58d8 100644
--- a/src/hid/nelma/nelma.c
+++ b/src/hid/nelma/nelma.c
@@ -111,9 +111,7 @@ static HID nelma_hid;
 
 static struct color_struct *black = NULL, *white = NULL;
 static Coord    linewidth = -1;
-static int      lastgroup = -1;
 static gdImagePtr lastbrush = (gdImagePtr)((void *) -1);
-static int      lastcap = -1;
 static int      lastcolor = -1;
 
 /* gd image and file for PNG export */
@@ -614,10 +612,7 @@ nelma_start_png_export()
 
 	linewidth = -1;
 	lastbrush = (gdImagePtr)((void *) -1);
-	lastcap = -1;
-	lastgroup = -1;
 	lastcolor = -1;
-	lastgroup = -1;
 
 	hid_expose_callback(&nelma_hid, &region, 0);
 }




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs