[GRASS-SVN] r66304 - grass-addons/grass7/imagery/i.spec.sam

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 23 02:24:23 PDT 2015


Author: ychemin
Date: 2015-09-23 02:24:23 -0700 (Wed, 23 Sep 2015)
New Revision: 66304

Modified:
   grass-addons/grass7/imagery/i.spec.sam/main.c
Log:
fixed exit code

Modified: grass-addons/grass7/imagery/i.spec.sam/main.c
===================================================================
--- grass-addons/grass7/imagery/i.spec.sam/main.c	2015-09-23 09:22:52 UTC (rev 66303)
+++ grass-addons/grass7/imagery/i.spec.sam/main.c	2015-09-23 09:24:23 UTC (rev 66304)
@@ -16,6 +16,7 @@
  ********************************************************************/
              
 #include <stdio.h>
+#include <stdlib.h>
 #include <strings.h>
 #include <math.h>
 #include <grass/gis.h>
@@ -213,7 +214,7 @@
 
     G_matrix_free(A);
     make_history(result_name, group, matrixfile);
-    return;
+    return(EXIT_SUCCESS);
 } /* main*/
 
 



More information about the grass-commit mailing list