From: Florian Forster Date: Wed, 15 Apr 2009 08:58:37 +0000 (+0200) Subject: apache plugin: Remove unused variables. X-Git-Tag: collectd-4.7.0~38^2~9 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=b3bab87254bf30f846657fd4ff4e771df7e52849;p=collectd.git apache plugin: Remove unused variables. --- diff --git a/src/apache.c b/src/apache.c index b808a9ee..4ac56b14 100644 --- a/src/apache.c +++ b/src/apache.c @@ -31,15 +31,6 @@ #include -static char *url = NULL; -static char *user = NULL; -static char *pass = NULL; -static char *verify_peer = NULL; -static char *verify_host = NULL; -static char *cacert = NULL; - -static CURL *curl = NULL; - static char *apache_buffer = NULL; static size_t apache_buffer_size = 0; static size_t apache_buffer_fill = 0; @@ -512,7 +503,6 @@ static int apache_read_host (apache_t *st) int lines_num = 0; char *fields[4]; - char *host; int fields_num; if (st->curl == NULL)