summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7bcddb1)
raw | patch | inline | side by side (parent: 7bcddb1)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 23 Apr 2016 09:00:31 +0000 (11:00 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 23 Apr 2016 09:00:31 +0000 (11:00 +0200) |
[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 | patch | blob | history |
diff --git a/src/threshold.c b/src/threshold.c
index 624ab7a91dd7c14b7112e9c2884bff46c636f8d1..e849b1d8b921fd2da5d7d1f3f98eaf20d7a07e2a 100644 (file)
--- a/src/threshold.c
+++ b/src/threshold.c
return (-1);
}
memcpy (th_copy, th, sizeof (threshold_t));
- th_ptr = NULL;
DEBUG ("ut_threshold_add: Adding entry `%s'", name);