[GRASS-SVN] r57677 - grass/branches/releasebranch_6_4/db/drivers/sqlite

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Sep 13 22:13:13 PDT 2013


Author: hamish
Date: 2013-09-13 22:13:13 -0700 (Fri, 13 Sep 2013)
New Revision: 57677

Modified:
   grass/branches/releasebranch_6_4/db/drivers/sqlite/execute.c
Log:
minor indent (merge from devbr6)

Modified: grass/branches/releasebranch_6_4/db/drivers/sqlite/execute.c
===================================================================
--- grass/branches/releasebranch_6_4/db/drivers/sqlite/execute.c	2013-09-14 05:02:25 UTC (rev 57676)
+++ grass/branches/releasebranch_6_4/db/drivers/sqlite/execute.c	2013-09-14 05:13:13 UTC (rev 57677)
@@ -47,12 +47,12 @@
     while (1) {
 	ret = sqlite3_prepare(sqlite, s, -1, &stmt, &rest);
 
-    if (ret != SQLITE_OK) {
-	append_error("Error in sqlite3_prepare():\n");
-	append_error((char *)sqlite3_errmsg(sqlite));
-	report_error();
-	return DB_FAILED;
-    }
+	if (ret != SQLITE_OK) {
+	    append_error("Error in sqlite3_prepare():\n");
+	    append_error((char *)sqlite3_errmsg(sqlite));
+	    report_error();
+	    return DB_FAILED;
+	}
 
 	ret = sqlite3_step(stmt);
 	/* get real result code */



More information about the grass-commit mailing list