[GRASS-SVN] r62479 - grass/trunk/ps/ps.map

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 29 07:44:19 PDT 2014


Author: annakrat
Date: 2014-10-29 07:44:19 -0700 (Wed, 29 Oct 2014)
New Revision: 62479

Modified:
   grass/trunk/ps/ps.map/ps_vpoints.c
Log:
ps.map: fix uninitialized pointer found by coverity scan

Modified: grass/trunk/ps/ps.map/ps_vpoints.c
===================================================================
--- grass/trunk/ps/ps.map/ps_vpoints.c	2014-10-29 14:29:39 UTC (rev 62478)
+++ grass/trunk/ps/ps.map/ps_vpoints.c	2014-10-29 14:44:19 UTC (rev 62479)
@@ -48,6 +48,7 @@
     PSCOLOR color;
 
     cv_rgb = NULL;
+    Symb = NULL;
 
     /* Create vector array if required */
     if (vector.layer[vec].cats != NULL || vector.layer[vec].where != NULL) {



More information about the grass-commit mailing list