fix
[oweals/gnunet.git] / src / datacache / plugin_datacache_mysql.c
index 7936e0a1b65fbca7db30411117f96bd169142ff0..8e477409e1ea36d8c90fe231b4c776d2dd991386 100644 (file)
@@ -79,7 +79,7 @@
  */
 #include "platform.h"
 #include "gnunet_util_lib.h"
-#include "plugin_datacache.h"
+#include "gnunet_datacache_plugin.h"
 #include <mysql/mysql.h>
 
 #define DEBUG_DATACACHE_MYSQL GNUNET_NO
@@ -261,9 +261,6 @@ prepared_statement_destroy (struct Plugin *plugin,
 static int
 iclose (struct Plugin *plugin)
 {
-  struct GNUNET_MysqlStatementHandle *spos;
-
-  spos = plugin->shead;
   while (NULL != plugin->shead)
     prepared_statement_destroy (plugin,
                                plugin->shead);