diff options
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); |