[GRASS-SVN] r57685 - grass/branches/releasebranch_6_4/lib/rst/interp_float

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Sep 13 23:04:28 PDT 2013


Author: hamish
Date: 2013-09-13 23:04:28 -0700 (Fri, 13 Sep 2013)
New Revision: 57685

Modified:
   grass/branches/releasebranch_6_4/lib/rst/interp_float/point2d.c
Log:
avoid 'format not a string literal and no format arguments' warnings (merge r57355 from devbr6)

Modified: grass/branches/releasebranch_6_4/lib/rst/interp_float/point2d.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/rst/interp_float/point2d.c	2013-09-14 05:59:09 UTC (rev 57684)
+++ grass/branches/releasebranch_6_4/lib/rst/interp_float/point2d.c	2013-09-14 06:04:28 UTC (rev 57685)
@@ -114,7 +114,7 @@
 		sprintf(buf, ", %f", err);
 		db_append_string(&sql2, buf);
 		db_append_string(&sql2, ")");
-		G_debug(3, db_get_string(&sql2));
+		G_debug(3, "IL_check_at_points_2d: %s", db_get_string(&sql2));
 
 		if (db_execute_immediate(driver2, &sql2) != DB_OK) {
 		    db_close_database(driver2);
@@ -171,7 +171,7 @@
 	    sprintf(buf, ", %f", skip_err);
 	    db_append_string(&sql2, buf);
 	    db_append_string(&sql2, ")");
-	    G_debug(3, db_get_string(&sql2));
+	    G_debug(3, "IL_check_at_points_2d: %s", db_get_string(&sql2));
 
 	    if (db_execute_immediate(driver2, &sql2) != DB_OK) {
 		db_close_database(driver2);



More information about the grass-commit mailing list