From 53d1557eb8f58dcdfb27ac5b54837cfdcb0882a3 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Mon, 20 Dec 2010 15:29:04 +0000 Subject: [PATCH] --- src/datastore/plugin_datastore_sqlite.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 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); -- 2.25.1