[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/geas/lib/classdefs classdata.c
From: |
Neil Tiffin |
Subject: |
gnue/geas/lib/classdefs classdata.c |
Date: |
Fri, 08 Jun 2001 08:04:33 -0700 |
CVSROOT: /home/cvs
Module name: gnue
Changes by: Neil Tiffin <address@hidden> 01/06/08 08:04:32
Modified files:
geas/lib/classdefs: classdata.c
Log message:
Change assert to warning until method code is cleaned up some.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/geas/lib/classdefs/classdata.c.diff?cvsroot=OldCVS&tr1=1.60&tr2=1.61&r1=text&r2=text
Patches:
Index: gnue/geas/lib/classdefs/classdata.c
diff -u gnue/geas/lib/classdefs/classdata.c:1.60
gnue/geas/lib/classdefs/classdata.c:1.61
--- gnue/geas/lib/classdefs/classdata.c:1.60 Wed Jun 6 14:12:33 2001
+++ gnue/geas/lib/classdefs/classdata.c Fri Jun 8 08:04:32 2001
@@ -22,7 +22,7 @@
along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- $Id: classdata.c,v 1.60 2001/06/06 21:12:33 ntiffin Exp $
+ $Id: classdata.c,v 1.61 2001/06/08 15:04:32 ntiffin Exp $
*/
@@ -522,16 +522,17 @@
{
GList *l;
-#ifdef DEBUG
+#if 0
/* printf ("---- odl_namelist_free() ----\n"); */
- assert (list != NULL);
#endif
+
+ g_return_if_fail (list != NULL);
l = (GList *) list;
while (l)
{
if (l->data)
{
-#ifdef DEBUG
+#if 0
/* printf( "...... %s\n" , l->data ); */
#endif
g_free (l->data);
@@ -543,7 +544,7 @@
{
g_list_free ((GList *) list);
}
-#ifdef DEBUG
+#if 0
/* printf( "---- end of odl_namelist_free() ----\n" ); */
#endif
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/geas/lib/classdefs classdata.c,
Neil Tiffin <=