X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fthreshold.c;h=e849b1d8b921fd2da5d7d1f3f98eaf20d7a07e2a;hb=c6557cb8950f50a41a1decfb34439b060e2fd371;hp=624ab7a91dd7c14b7112e9c2884bff46c636f8d1;hpb=e030096e4f5a0bbdd42635bfeb95e39d150cac72;p=collectd.git diff --git a/src/threshold.c b/src/threshold.c index 624ab7a9..e849b1d8 100644 --- a/src/threshold.c +++ b/src/threshold.c @@ -78,7 +78,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);