[GRASS-SVN] r68060 - grass/trunk/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 15 01:48:28 PDT 2016


Author: hcho
Date: 2016-03-15 01:48:28 -0700 (Tue, 15 Mar 2016)
New Revision: 68060

Modified:
   grass/trunk/lib/gis/parser.c
Log:
parser: Fix compilation warnings

Modified: grass/trunk/lib/gis/parser.c
===================================================================
--- grass/trunk/lib/gis/parser.c	2016-03-15 08:24:46 UTC (rev 68059)
+++ grass/trunk/lib/gis/parser.c	2016-03-15 08:48:28 UTC (rev 68060)
@@ -764,7 +764,7 @@
  */
 char *G_recreate_command(void)
 {
-    recreate_command(FALSE);
+    return recreate_command(FALSE);
 }
 
 /* TODO: update to docs of these 3 functions to whatever general purpose
@@ -782,7 +782,7 @@
  */
 char *G_recreate_command_original_path(void)
 {
-    recreate_command(TRUE);
+    return recreate_command(TRUE);
 }
 
 /*!
@@ -1171,6 +1171,7 @@
 
     error = 0;
     err = NULL;
+    found = 0;
 
     switch (type) {
     case TYPE_INTEGER:



More information about the grass-commit mailing list