[GRASS-SVN] r43307 - grass-addons/raster/r.seg/rseg

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Aug 27 12:19:24 EDT 2010


Author: neteler
Date: 2010-08-27 16:19:24 +0000 (Fri, 27 Aug 2010)
New Revision: 43307

Modified:
   grass-addons/raster/r.seg/rseg/main.c
Log:
compiler warning fixes

Modified: grass-addons/raster/r.seg/rseg/main.c
===================================================================
--- grass-addons/raster/r.seg/rseg/main.c	2010-08-27 15:02:46 UTC (rev 43306)
+++ grass-addons/raster/r.seg/rseg/main.c	2010-08-27 16:19:24 UTC (rev 43307)
@@ -1,4 +1,3 @@
-
 /****************************************************************************
  *
  * MODULE:       r.seg
@@ -22,6 +21,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <grass/gis.h>
 #include <grass/config.h>
 #include <grass/glocale.h>
@@ -62,7 +62,7 @@
     {
 	struct Option *lambda, *kepsilon, *alpha, *beta, *tol, *max_iter;	/* other parameters */
     } opts;
-    struct Flag *flag_k, *flag_s;	/* flag, k = use MSK instead of MS */
+    struct Flag *flag_k;	/* flag, k = use MSK instead of MS */
 
 
     /* initialize GRASS environment */



More information about the grass-commit mailing list