summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 27cdc98)
raw | patch | inline | side by side (parent: 27cdc98)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 23 Apr 2016 09:59:27 +0000 (11:59 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 23 Apr 2016 09:59:27 +0000 (11:59 +0200) |
[src/daemon/common_test.c:93]: (style) Condition 'ptr==0' is always true
src/daemon/common_test.c | patch | blob | history |
index ca8f15a35fd793d9799016ae594d2544ad5b67d7..68958f3f15271db5b66c64dd189e12e2f1c50073 100644 (file)
--- a/src/daemon/common_test.c
+++ b/src/daemon/common_test.c
EXPECT_EQ_STR ("collectd", ptr);
sfree(ptr);
- OK(ptr == NULL);
ptr = sstrdup (NULL);
OK(ptr == NULL);