[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: o_bus_basic.c
User: cnieves
Date: 07/04/21 13:47:37
Modified: . o_bus_basic.c o_circle_basic.c o_line_basic.c
o_net_basic.c o_pin_basic.c
Log:
Put unused variables inside #ifdef HAS_LIBGD.
* src/o_bus_basic.c, src/o_circle_basic.c, src/o_line_basic.c,
src/o_pin_basic.c:
- Put unused variables inside #ifdef HAS_LIBGD.
Revision Changes Path
1.22 +2 -0 eda/geda/gaf/libgeda/src/o_bus_basic.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: o_bus_basic.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/libgeda/src/o_bus_basic.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- o_bus_basic.c 21 Apr 2007 17:40:52 -0000 1.21
+++ o_bus_basic.c 21 Apr 2007 17:47:37 -0000 1.22
@@ -335,7 +335,9 @@
void o_bus_image_write(TOPLEVEL *w_current, OBJECT *o_current,
int origin_x, int origin_y, int color_mode)
{
+#ifdef HAS_LIBGD
int x[2], y[2];
+#endif
int color;
if (o_current == NULL) {
1.33 +2 -0 eda/geda/gaf/libgeda/src/o_circle_basic.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: o_circle_basic.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/libgeda/src/o_circle_basic.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -b -r1.32 -r1.33
--- o_circle_basic.c 21 Apr 2007 17:40:52 -0000 1.32
+++ o_circle_basic.c 21 Apr 2007 17:47:37 -0000 1.33
@@ -1218,8 +1218,10 @@
void o_circle_image_write(TOPLEVEL *w_current, OBJECT *o_current,
int origin_x, int origin_y, int color_mode)
{
+#ifdef HAS_LIBGD
int diameter;
int s_x, s_y;
+#endif
int color;
if (o_current == NULL) {
1.31 +2 -0 eda/geda/gaf/libgeda/src/o_line_basic.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: o_line_basic.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/libgeda/src/o_line_basic.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- o_line_basic.c 21 Apr 2007 17:40:53 -0000 1.30
+++ o_line_basic.c 21 Apr 2007 17:47:37 -0000 1.31
@@ -1236,7 +1236,9 @@
void o_line_image_write(TOPLEVEL *w_current, OBJECT *o_current,
int origin_x, int origin_y, int color_mode)
{
+#ifdef HAS_LIBGD
int x[2], y[2];
+#endif
int color;
if (o_current == NULL) {
1.39 +2 -0 eda/geda/gaf/libgeda/src/o_net_basic.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: o_net_basic.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/libgeda/src/o_net_basic.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- o_net_basic.c 21 Apr 2007 17:40:53 -0000 1.38
+++ o_net_basic.c 21 Apr 2007 17:47:37 -0000 1.39
@@ -349,7 +349,9 @@
void o_net_image_write(TOPLEVEL *w_current, OBJECT *o_current,
int origin_x, int origin_y, int color_mode)
{
+#ifdef HAS_LIBGD
int x[2], y[2];
+#endif
int color;
if (o_current == NULL) {
1.29 +2 -0 eda/geda/gaf/libgeda/src/o_pin_basic.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: o_pin_basic.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/libgeda/src/o_pin_basic.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- o_pin_basic.c 21 Apr 2007 17:40:53 -0000 1.28
+++ o_pin_basic.c 21 Apr 2007 17:47:37 -0000 1.29
@@ -349,7 +349,9 @@
void o_pin_image_write(TOPLEVEL *w_current, OBJECT *o_current,
int origin_x, int origin_y, int color_mode)
{
+#ifdef HAS_LIBGD
int x[2], y[2];
+#endif
int color;
if (o_current == NULL) {
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs