From: Marc Fournier Date: Thu, 5 Nov 2015 09:23:19 +0000 (+0100) Subject: varnish: remove unused variable X-Git-Tag: collectd-5.5.1~37^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F1336%2Fhead;p=thirdparty%2Fcollectd.git varnish: remove unused variable This was used in a DEBUG statement I didn't check in. --- diff --git a/src/varnish.c b/src/varnish.c index cd5221785..682e362fc 100644 --- a/src/varnish.c +++ b/src/varnish.c @@ -141,7 +141,6 @@ static int varnish_monitor (void *priv, const struct VSC_point * const pt) /* {{ uint64_t val; const user_config_t *conf; const char *class; - const char *ident; const char *name; if (pt == NULL) @@ -151,7 +150,6 @@ static int varnish_monitor (void *priv, const struct VSC_point * const pt) /* {{ #if HAVE_VARNISH_V4 class = pt->section->fantom->type; - ident = pt->section->fantom->ident; name = pt->desc->name; if (strcmp(class, "MAIN") != 0) @@ -159,7 +157,6 @@ static int varnish_monitor (void *priv, const struct VSC_point * const pt) /* {{ #elif HAVE_VARNISH_V3 class = pt->class; - ident = pt->ident; name = pt->name; if (strcmp(class, "") != 0)