[GRASS-SVN] r57356 - grass/trunk/lib/rst/interp_float
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Aug 2 01:02:09 PDT 2013
Author: hamish
Date: 2013-08-02 01:02:09 -0700 (Fri, 02 Aug 2013)
New Revision: 57356
Modified:
grass/trunk/lib/rst/interp_float/point2d.c
Log:
avoid 'format not a string literal and no format arguments' warnings (merge from devbr6)
Modified: grass/trunk/lib/rst/interp_float/point2d.c
===================================================================
--- grass/trunk/lib/rst/interp_float/point2d.c 2013-08-02 08:00:31 UTC (rev 57355)
+++ grass/trunk/lib/rst/interp_float/point2d.c 2013-08-02 08:02:09 UTC (rev 57356)
@@ -119,7 +119,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);
@@ -176,7 +176,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