X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Ftokyotyrant.c;h=befbd50a91c52d1464e03934076ec7145c40b209;hb=6d01a00ee1fee1a5f8b78d2925d9b4e6979a5c3a;hp=b618ae323a3e1daec1db5a150c5f81721fdc7bf5;hpb=60451f81f174fc283345ade43d95857c56d17e88;p=collectd.git diff --git a/src/tokyotyrant.c b/src/tokyotyrant.c index b618ae32..befbd50a 100644 --- a/src/tokyotyrant.c +++ b/src/tokyotyrant.c @@ -23,7 +23,6 @@ #include "plugin.h" #include "common.h" #include "utils_cache.h" -#include "utils_parse_option.h" #include @@ -107,8 +106,8 @@ static void tt_submit (gauge_t val, const char* type) static void tt_open_db (void) { - char* host = NULL; - int port = DEFAULT_PORT; + const char *host; + int port = DEFAULT_PORT; if (rdb != NULL) return;