[GRASS-SVN] r57355 - grass/branches/develbranch_6/lib/rst/interp_float

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Aug 2 01:00:31 PDT 2013


Author: hamish
Date: 2013-08-02 01:00:31 -0700 (Fri, 02 Aug 2013)
New Revision: 57355

Modified:
   grass/branches/develbranch_6/lib/rst/interp_float/point2d.c
Log:
avoid 'format not a string literal and no format arguments' warnings

Modified: grass/branches/develbranch_6/lib/rst/interp_float/point2d.c
===================================================================
--- grass/branches/develbranch_6/lib/rst/interp_float/point2d.c	2013-08-02 07:53:36 UTC (rev 57354)
+++ grass/branches/develbranch_6/lib/rst/interp_float/point2d.c	2013-08-02 08:00:31 UTC (rev 57355)
@@ -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