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

gEDA-cvs: CVS update: gsymcheck.c



  User: danmc   
  Date: 05/02/25 20:14:11

  Modified:    .        gsymcheck.c s_check.c
  Log:
  remove a handful of compiler warnings
  
  
  Revision  Changes    Path
  1.36      +0 -2      eda/geda/devel/gsymcheck/src/gsymcheck.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: gsymcheck.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gsymcheck/src/gsymcheck.c,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -b -r1.35 -r1.36
  --- gsymcheck.c	22 Feb 2005 19:53:23 -0000	1.35
  +++ gsymcheck.c	26 Feb 2005 01:14:10 -0000	1.36
  @@ -48,7 +48,6 @@
   {
     int i;
     int argv_index;
  -  int first_page=1;
     int exit_status;
     int fopen_status;
     char *cwd;
  @@ -103,7 +102,6 @@
     
     i = argv_index;
     while (argv[i] != NULL) {
  -    PAGE *page;
       gchar *filename = g_build_path (G_DIR_SEPARATOR_S,
                                       cwd,
                                       argv[i],
  
  
  
  1.22      +1 -6      eda/geda/devel/gsymcheck/src/s_check.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: s_check.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gsymcheck/src/s_check.c,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -b -r1.21 -r1.22
  --- s_check.c	9 Feb 2005 19:13:32 -0000	1.21
  +++ s_check.c	26 Feb 2005 01:14:10 -0000	1.22
  @@ -380,7 +380,7 @@
     
     counter = 0;
   
  -  while(net = o_attrib_search_toplevel(object_head, "net", counter))
  +  while( (net = o_attrib_search_toplevel(object_head, "net", counter)) != NULL)
     {
       message = g_strdup_printf ("Found net=%s attribute\n", net);
       s_current->info_messages = g_list_append(s_current->info_messages,
  @@ -1119,10 +1119,7 @@
   s_check_missing_attributes(OBJECT *object_head, SYMCHECK *s_current)
   {
     OBJECT *o_current;
  -  PINCOUNT *pcount;
     char *message;
  -  char tempstr[10];
  -  char *tmp;
   
     o_current = object_head;
     while(o_current != NULL)
  @@ -1235,8 +1232,6 @@
     int found_first=FALSE;
     int counter=0;
   
  -  GList *ptr1 = NULL;
  -  GList *ptr2 = NULL;
     char *pintype;
     char *message;