[GRASS-SVN] r61344 - grass/trunk/vector/v.vect.stats

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jul 22 14:45:14 PDT 2014


Author: neteler
Date: 2014-07-22 14:45:13 -0700 (Tue, 22 Jul 2014)
New Revision: 61344

Modified:
   grass/trunk/vector/v.vect.stats/main.c
Log:
v.vect.stats: fix compiler warning

Modified: grass/trunk/vector/v.vect.stats/main.c
===================================================================
--- grass/trunk/vector/v.vect.stats/main.c	2014-07-22 21:28:58 UTC (rev 61343)
+++ grass/trunk/vector/v.vect.stats/main.c	2014-07-22 21:45:13 UTC (rev 61344)
@@ -217,7 +217,9 @@
 
     if (print_flag->answer)
 	/* get field separator */
-	fs = G_option_to_separator(fs_opt);
+	    fs = G_option_to_separator(fs_opt);
+    else
+	    fs = NULL;
 
     /* check for stats */
     if (method_opt->answer) {



More information about the grass-commit mailing list