X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fthreshold.c;h=94a4f02449c06fb8093defef6ea2a1095e556352;hb=edd9af8a874ebc9f2a7f02846807229a648917db;hp=624ab7a91dd7c14b7112e9c2884bff46c636f8d1;hpb=3dc0454f7bee3e852171d1f6944891693364ee01;p=collectd.git diff --git a/src/threshold.c b/src/threshold.c index 624ab7a9..94a4f024 100644 --- a/src/threshold.c +++ b/src/threshold.c @@ -31,7 +31,6 @@ #include "utils_threshold.h" #include -#include /* * Threshold management @@ -78,7 +77,6 @@ static int ut_threshold_add (const threshold_t *th) return (-1); } memcpy (th_copy, th, sizeof (threshold_t)); - th_ptr = NULL; DEBUG ("ut_threshold_add: Adding entry `%s'", name);