[GRASS-SVN] r40561 - grass/branches/releasebranch_6_4/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 19 21:24:54 EST 2010


Author: neteler
Date: 2010-01-19 21:24:51 -0500 (Tue, 19 Jan 2010)
New Revision: 40561

Modified:
   grass/branches/releasebranch_6_4/lib/gis/key_value1.c
Log:
Fix compiler warning for G_free_key_value() (backport)

Modified: grass/branches/releasebranch_6_4/lib/gis/key_value1.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/gis/key_value1.c	2010-01-19 23:48:57 UTC (rev 40560)
+++ grass/branches/releasebranch_6_4/lib/gis/key_value1.c	2010-01-20 02:24:51 UTC (rev 40561)
@@ -147,7 +147,7 @@
     int n;
 
     if (!kv)
-	return;
+	return 0;
 
     for (n = 0; n < kv->nitems; n++) {
 	G_free(kv->key[n]);



More information about the grass-commit mailing list