Remove unused variable
[pazpar2-moved-to-github.git] / src / pazpar2_config.c
index e3f99b8..1dfb379 100644 (file)
@@ -45,7 +45,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #include "settings.h"
 #include "eventl.h"
 #include "http.h"
-#include "session.h"
 
 struct conf_config
 {
@@ -987,7 +986,7 @@ struct conf_service *locate_service(struct conf_server *server,
     return s;
 }
 
-void info_service_metadata(struct conf_service *service, WRBUF w)
+static void info_service_metadata(struct conf_service *service, WRBUF w)
 {
     int i;
     struct conf_metadata *md;
@@ -1082,7 +1081,7 @@ void info_service_metadata(struct conf_service *service, WRBUF w)
     }
 }
 
-void info_service_databases(struct conf_service *service, WRBUF w)
+static void info_service_databases(struct conf_service *service, WRBUF w)
 {
     struct database *db;
     struct setting *s;
@@ -1127,7 +1126,6 @@ void info_services(struct conf_server *server, WRBUF w)
     struct conf_service *s = server->service;
     int i;
     struct setting *S;
-    struct database *db;
 
     wrbuf_puts(w, " <services>\n");
     for (; s; s = s->next)