[GRASS-SVN] r33641 - grass/branches/develbranch_6/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 1 11:52:03 EDT 2008


Author: marisn
Date: 2008-10-01 11:52:03 -0400 (Wed, 01 Oct 2008)
New Revision: 33641

Modified:
   grass/branches/develbranch_6/lib/vector/Vlib/build.c
Log:
Don't provide any output during vector topology building if --q flag is used

Modified: grass/branches/develbranch_6/lib/vector/Vlib/build.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/build.c	2008-10-01 15:34:02 UTC (rev 33640)
+++ grass/branches/develbranch_6/lib/vector/Vlib/build.c	2008-10-01 15:52:03 UTC (rev 33641)
@@ -50,6 +50,9 @@
     char buffer[1000];
     va_list ap;
 
+    if (G_verbose() == G_verbose_min())
+        return 1;
+    
     if (Msgout != NULL) {
 	va_start(ap, msg);
 	vsprintf(buffer, msg, ap);



More information about the grass-commit mailing list