(no commit message)
authorMatthias Wachs <wachs@net.in.tum.de>
Mon, 20 Dec 2010 15:29:04 +0000 (15:29 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Mon, 20 Dec 2010 15:29:04 +0000 (15:29 +0000)
src/datastore/plugin_datastore_sqlite.c

index 4799b6bcaea7639c831fe5a3e36838a5fa5eae86..0eba474f618e29fabb874c317950a20a87882897 100644 (file)
@@ -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);