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

gEDA-cvs: CVS update: g_register.c



  User: danmc   
  Date: 06/10/18 23:11:17

  Modified:    .        g_register.c
  Log:
  Add a return value on a non-void function that didn't have
  
  a return value.  We shouldn't actually get to that spot but
  
  it causes an extra compiler warning that I keep checking into.
  
  
  
  
  Revision  Changes    Path
  1.5       +3 -0      eda/geda/gaf/gattrib/src/g_register.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: g_register.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gattrib/src/g_register.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- g_register.c	16 Sep 2006 11:37:03 -0000	1.4
  +++ g_register.c	19 Oct 2006 03:11:17 -0000	1.5
  @@ -71,5 +71,8 @@
   
     gattrib_quit(0); 
     /*  exit(0);  */  /* Necessary? */
  +
  +  /* we don't really get here, but otherwise gcc complains */
  +  return SCM_BOOL_F;
   }
   
  
  
  


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