From: Matthias Wachs Date: Mon, 20 Dec 2010 15:29:04 +0000 (+0000) Subject: (no commit message) X-Git-Tag: initial-import-from-subversion-38251~19503 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=53d1557eb8f58dcdfb27ac5b54837cfdcb0882a3;p=oweals%2Fgnunet.git --- 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);