From 4f41db51b22f3505304962ebc8f05806ab685690 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 23 Apr 2016 11:00:31 +0200 Subject: [PATCH] threshold.c: remove assignment with no effect. [src/threshold.c:81] -> [src/threshold.c:87]: (performance) Variable 'th_ptr' is reassigned a value before the old one has been used. --- src/threshold.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.30.2