فهرست منبع

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 سال پیش
والد
کامیت
78deb07318
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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."));