From: Ruben Kerkhof Date: Sat, 23 Apr 2016 09:44:41 +0000 (+0200) Subject: liboconfig/oconfig.c: remove unneeded assigment X-Git-Tag: collectd-5.6.0~329^2~16 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=644786a90e054facf2ba1a393f1e4a86c2bee0c5;p=collectd.git liboconfig/oconfig.c: remove unneeded assigment [src/liboconfig/oconfig.c:224]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? --- diff --git a/src/liboconfig/oconfig.c b/src/liboconfig/oconfig.c index ca7f958f..cfe9c5a1 100644 --- 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; } /*