From: Florian Forster Date: Fri, 21 Aug 2009 08:22:38 +0000 (+0200) Subject: http plugin: Remove an unused variable. X-Git-Tag: collectd-4.8.0~26^2~12 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=da112d8fecbf1a2ca4123907cdbf3debb1e3de7d;p=collectd.git http plugin: Remove an unused variable. --- diff --git a/src/http.c b/src/http.c index 70dc080c..d6f7fee3 100644 --- a/src/http.c +++ b/src/http.c @@ -53,7 +53,6 @@ char curl_errbuf[CURL_ERROR_SIZE]; #define SEND_BUFFER_SIZE 4096 static char send_buffer[SEND_BUFFER_SIZE]; -static char *send_buffer_ptr; static int send_buffer_fill; static pthread_mutex_t send_lock = PTHREAD_MUTEX_INITIALIZER; @@ -243,7 +242,6 @@ static int http_config (const char *key, const char *value) /* {{{ */ static void http_init_buffer (void) /* {{{ */ { memset (send_buffer, 0, sizeof (send_buffer)); - send_buffer_ptr = send_buffer; send_buffer_fill = 0; } /* }}} http_init_buffer */