aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/plugin_datastore_sqlite.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-12-20 15:29:04 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-12-20 15:29:04 +0000
commit53d1557eb8f58dcdfb27ac5b54837cfdcb0882a3 (patch)
treea8d59bf17ec4790678c3cd56f1f3758e1a271f51 /src/datastore/plugin_datastore_sqlite.c
parentddf2aff7fcc845b3e9b968e4deaee823d32e8390 (diff)
downloadgnunet-53d1557eb8f58dcdfb27ac5b54837cfdcb0882a3.tar.gz
gnunet-53d1557eb8f58dcdfb27ac5b54837cfdcb0882a3.zip
Diffstat (limited to 'src/datastore/plugin_datastore_sqlite.c')
-rw-r--r--src/datastore/plugin_datastore_sqlite.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/datastore/plugin_datastore_sqlite.c b/src/datastore/plugin_datastore_sqlite.c
index 4799b6bca..0eba474f6 100644
--- a/src/datastore/plugin_datastore_sqlite.c
+++ b/src/datastore/plugin_datastore_sqlite.c
@@ -359,8 +359,9 @@ static void
359database_shutdown (struct Plugin *plugin) 359database_shutdown (struct Plugin *plugin)
360{ 360{
361 int result; 361 int result;
362#if SQLITE_VERSION_NUMBER >= 3007000
362 sqlite3_stmt *stmt; 363 sqlite3_stmt *stmt;
363 stmt = NULL; 364#endif
364 365
365 if (plugin->delRow != NULL) 366 if (plugin->delRow != NULL)
366 sqlite3_finalize (plugin->delRow); 367 sqlite3_finalize (plugin->delRow);