[GRASS-SVN] r72211 - grass/trunk/vector/v.in.ogr

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Feb 5 12:50:35 PST 2018


Author: martinl
Date: 2018-02-05 12:50:35 -0800 (Mon, 05 Feb 2018)
New Revision: 72211

Modified:
   grass/trunk/vector/v.in.ogr/main.c
Log:
v.in.ogr: fix 'format not a string literal and no format arguments' compilation error ([-Werror=format-security])

Modified: grass/trunk/vector/v.in.ogr/main.c
===================================================================
--- grass/trunk/vector/v.in.ogr/main.c	2018-02-05 13:14:47 UTC (rev 72210)
+++ grass/trunk/vector/v.in.ogr/main.c	2018-02-05 20:50:35 UTC (rev 72211)
@@ -1784,7 +1784,7 @@
 		        _("Number of duplicate centroids: %d"),
 			err_centr_dupl);
 	    }
-	    G_warning(error_msg);
+	    G_warning("%s", error_msg);
 	    
 	    G_important_message(_("The input could be cleaned by snapping vertices to each other."));
 



More information about the grass-commit mailing list