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

gEDA-cvs: gaf.git: branch: master updated (1.6.1-20100214-229-gd1569f3)



The branch, master has been updated
       via  d1569f38123674ffa71b0160cd0fb56806673c84 (commit)
      from  66f1e3b13af2801abc918ba1f79ff2f104a1834e (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
=========

 gschem/src/o_arc.c     |    2 --
 gschem/src/o_basic.c   |    3 ---
 gschem/src/o_box.c     |    1 -
 gschem/src/o_circle.c  |    1 -
 gschem/src/o_cue.c     |    1 -
 gschem/src/o_line.c    |    1 -
 gschem/src/o_path.c    |    1 -
 gschem/src/o_picture.c |    1 -
 gschem/src/o_undo.c    |    1 -
 gschem/src/x_basic.c   |    1 -
 gschem/src/x_event.c   |    3 ---
 gschem/src/x_preview.c |    1 -
 12 files changed, 0 insertions(+), 17 deletions(-)


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

commit d1569f38123674ffa71b0160cd0fb56806673c84
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    gschem: Fix some compilation warnings.
    
    Removes a bunch of unused variables that were causing compilation
    warnings.

:100644 100644 fae015e... c777e93... M	gschem/src/o_arc.c
:100644 100644 c822e74... 02aeca8... M	gschem/src/o_basic.c
:100644 100644 a5340d9... fc0f4fa... M	gschem/src/o_box.c
:100644 100644 1162e63... ce785b0... M	gschem/src/o_circle.c
:100644 100644 12df2ef... a60045e... M	gschem/src/o_cue.c
:100644 100644 572cd23... 46bb82c... M	gschem/src/o_line.c
:100644 100644 6ed086a... 8074429... M	gschem/src/o_path.c
:100644 100644 7bc99d6... 62579c5... M	gschem/src/o_picture.c
:100644 100644 14f1442... 2eba200... M	gschem/src/o_undo.c
:100644 100644 7b6d81b... 25198e9... M	gschem/src/x_basic.c
:100644 100644 22ac8ac... 497bc3d... M	gschem/src/x_event.c
:100644 100644 c8c0799... 5c1d8c6... M	gschem/src/x_preview.c

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

commit d1569f38123674ffa71b0160cd0fb56806673c84
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    gschem: Fix some compilation warnings.
    
    Removes a bunch of unused variables that were causing compilation
    warnings.

diff --git a/gschem/src/o_arc.c b/gschem/src/o_arc.c
index fae015e..c777e93 100644
--- a/gschem/src/o_arc.c
+++ b/gschem/src/o_arc.c
@@ -43,8 +43,6 @@
  */
 void o_arc_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current)
 {
-  TOPLEVEL *toplevel = w_current->toplevel;
-
   if (o_current->arc == NULL) {
     return;
   }
diff --git a/gschem/src/o_basic.c b/gschem/src/o_basic.c
index c822e74..02aeca8 100644
--- a/gschem/src/o_basic.c
+++ b/gschem/src/o_basic.c
@@ -189,7 +189,6 @@ void o_redraw_rects (GSCHEM_TOPLEVEL *w_current,
  */
 void o_redraw (GSCHEM_TOPLEVEL *w_current, GList *object_list, gboolean draw_selected)
 {
-  TOPLEVEL *toplevel = w_current->toplevel;
   OBJECT *o_current;
   GList *iter;
 
@@ -217,8 +216,6 @@ void o_redraw (GSCHEM_TOPLEVEL *w_current, GList *object_list, gboolean draw_sel
  */
 void o_redraw_single(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current)
 {
-  TOPLEVEL *toplevel = w_current->toplevel;
-
   if (o_current == NULL)
   return;
 
diff --git a/gschem/src/o_box.c b/gschem/src/o_box.c
index a5340d9..fc0f4fa 100644
--- a/gschem/src/o_box.c
+++ b/gschem/src/o_box.c
@@ -56,7 +56,6 @@ typedef void (*FILL_FUNC)( GdkDrawable *w, GdkGC *gc, COLOR *color,
  */
 void o_box_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current)
 {
-  TOPLEVEL *toplevel = w_current->toplevel;
   int angle1, pitch1, angle2, pitch2;
   FILL_FUNC fill_func;
 
diff --git a/gschem/src/o_circle.c b/gschem/src/o_circle.c
index 1162e63..ce785b0 100644
--- a/gschem/src/o_circle.c
+++ b/gschem/src/o_circle.c
@@ -49,7 +49,6 @@ typedef void (*FILL_FUNC)( GdkDrawable *w, GdkGC *gc, COLOR *color,
  */
 void o_circle_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current)
 {
-  TOPLEVEL *toplevel = w_current->toplevel;
   int angle1, pitch1, angle2, pitch2;
   FILL_FUNC fill_func;
 
diff --git a/gschem/src/o_cue.c b/gschem/src/o_cue.c
index 12df2ef..a60045e 100644
--- a/gschem/src/o_cue.c
+++ b/gschem/src/o_cue.c
@@ -36,7 +36,6 @@
  */
 void o_cue_redraw_all (GSCHEM_TOPLEVEL *w_current, GList *list, gboolean draw_selected)
 {
-  TOPLEVEL *toplevel = w_current->toplevel;
   OBJECT *o_current;
   GList *iter;
 
diff --git a/gschem/src/o_line.c b/gschem/src/o_line.c
index 572cd23..46bb82c 100644
--- a/gschem/src/o_line.c
+++ b/gschem/src/o_line.c
@@ -43,7 +43,6 @@
  */
 void o_line_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current)
 {
-  TOPLEVEL *toplevel = w_current->toplevel;
   int x1, y1, x2, y2;
 
   if (o_current->line == NULL) {
diff --git a/gschem/src/o_path.c b/gschem/src/o_path.c
index 6ed086a..8074429 100644
--- a/gschem/src/o_path.c
+++ b/gschem/src/o_path.c
@@ -299,7 +299,6 @@ static void o_path_fill_mesh (GdkDrawable *w, GdkGC *gc, COLOR *color,
  */
 void o_path_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current)
 {
-  TOPLEVEL *toplevel = w_current->toplevel;
   PATH *path = o_current->path;
   int angle1, pitch1, angle2, pitch2;
   FILL_FUNC fill_func;
diff --git a/gschem/src/o_picture.c b/gschem/src/o_picture.c
index 7bc99d6..62579c5 100644
--- a/gschem/src/o_picture.c
+++ b/gschem/src/o_picture.c
@@ -298,7 +298,6 @@ void o_picture_draw_rubber (GSCHEM_TOPLEVEL *w_current)
  */
 void o_picture_draw (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current)
 {
-  TOPLEVEL *toplevel = w_current->toplevel;
   int s_upper_x, s_upper_y, s_lower_x, s_lower_y;
 
   if (o_current->picture == NULL) {
diff --git a/gschem/src/o_undo.c b/gschem/src/o_undo.c
index 14f1442..2eba200 100644
--- a/gschem/src/o_undo.c
+++ b/gschem/src/o_undo.c
@@ -296,7 +296,6 @@ void o_undo_callback(GSCHEM_TOPLEVEL *w_current, int type)
   UNDO *save_current;
   int save_logging;
   int find_prev_data=FALSE;
-  int prev_status;
 
   char *save_filename;
 
diff --git a/gschem/src/x_basic.c b/gschem/src/x_basic.c
index 7b6d81b..25198e9 100644
--- a/gschem/src/x_basic.c
+++ b/gschem/src/x_basic.c
@@ -172,7 +172,6 @@ void x_vscrollbar_update(GSCHEM_TOPLEVEL *w_current)
  */
 void x_scrollbars_update(GSCHEM_TOPLEVEL *w_current)
 {
-  TOPLEVEL *toplevel = w_current->toplevel;
   if (w_current->scrollbars_flag == FALSE) {
     return;
   }
diff --git a/gschem/src/x_event.c b/gschem/src/x_event.c
index 22ac8ac..497bc3d 100644
--- a/gschem/src/x_event.c
+++ b/gschem/src/x_event.c
@@ -96,7 +96,6 @@ gint x_event_button_pressed(GtkWidget *widget, GdkEventButton *event,
                             GSCHEM_TOPLEVEL *w_current)
 {
   TOPLEVEL *toplevel = w_current->toplevel;
-  int prev_state;
   int w_x, w_y;
   int unsnapped_wx, unsnapped_wy;
 
@@ -518,8 +517,6 @@ gint x_event_button_pressed(GtkWidget *widget, GdkEventButton *event,
 gint x_event_button_released(GtkWidget *widget, GdkEventButton *event,
                              GSCHEM_TOPLEVEL *w_current)
 {
-  TOPLEVEL *toplevel = w_current->toplevel;
-  int prev_state;
   int w_x, w_y;
   int unsnapped_wx, unsnapped_wy;
 
diff --git a/gschem/src/x_preview.c b/gschem/src/x_preview.c
index c8c0799..5c1d8c6 100644
--- a/gschem/src/x_preview.c
+++ b/gschem/src/x_preview.c
@@ -323,7 +323,6 @@ preview_event_configure (GtkWidget         *widget,
                          gpointer           user_data)
 {
   gboolean retval;
-  int save_redraw;
   GSCHEM_TOPLEVEL *preview_w_current = PREVIEW (widget)->preview_w_current;
   PAGE     *preview_page = preview_w_current->toplevel->page_current;
 




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