Browse Source

v.in.ogr: fix 'format not a string literal and no format arguments' compilation error ([-Werror=format-security])

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72211 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 7 years ago
parent
commit
78deb07318
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vector/v.in.ogr/main.c

+ 1 - 1
vector/v.in.ogr/main.c

@@ -1784,7 +1784,7 @@ int main(int argc, char *argv[])
 		        _("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."));