projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
428613f
)
liboconfig/oconfig.c: remove unneeded assigment
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 23 Apr 2016 09:44:41 +0000
(11:44 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 23 Apr 2016 09:44:41 +0000
(11:44 +0200)
[src/liboconfig/oconfig.c:224]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
src/liboconfig/oconfig.c
patch
|
blob
|
history
diff --git
a/src/liboconfig/oconfig.c
b/src/liboconfig/oconfig.c
index
ca7f958
..
cfe9c5a
100644
(file)
--- a/
src/liboconfig/oconfig.c
+++ b/
src/liboconfig/oconfig.c
@@
-221,7
+221,6
@@
void oconfig_free (oconfig_item_t *ci)
{
oconfig_free_all (ci);
free (ci);
- ci = NULL;
}
/*