diff options
author | wachs <wachs@140774ce-b5e7-0310-ab8b-a85725594a96> | 2010-12-20 15:29:04 +0000 |
---|---|---|
committer | wachs <wachs@140774ce-b5e7-0310-ab8b-a85725594a96> | 2010-12-20 15:29:04 +0000 |
commit | 39cfed682fb1e4aca52a7d947bcb661131062610 (patch) | |
tree | a8d59bf17ec4790678c3cd56f1f3758e1a271f51 /src/datastore/plugin_datastore_sqlite.c | |
parent | 9e27e62b2b11ee0b6327d085ae02a2d91465dda1 (diff) |
git-svn-id: https://gnunet.org/svn/gnunet@13942 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/datastore/plugin_datastore_sqlite.c')
-rw-r--r-- | src/datastore/plugin_datastore_sqlite.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/datastore/plugin_datastore_sqlite.c b/src/datastore/plugin_datastore_sqlite.c index 4799b6bcae..0eba474f61 100644 --- a/src/datastore/plugin_datastore_sqlite.c +++ b/src/datastore/plugin_datastore_sqlite.c @@ -359,8 +359,9 @@ static void database_shutdown (struct Plugin *plugin) { int result; +#if SQLITE_VERSION_NUMBER >= 3007000 sqlite3_stmt *stmt; - stmt = NULL; +#endif if (plugin->delRow != NULL) sqlite3_finalize (plugin->delRow); |