From: Ruben Kerkhof Date: Sat, 23 Apr 2016 10:03:06 +0000 (+0200) Subject: curl_xml plugin: remove useless assigment X-Git-Tag: collectd-5.6.0~329^2~8 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=f81aafecc0b537b4bec734f7fdb0c8352719afee;p=collectd.git curl_xml plugin: remove useless assigment list has local storage class [src/curl_xml.c:173]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? --- diff --git a/src/curl_xml.c b/src/curl_xml.c index 86cc87f7..4948886b 100644 --- a/src/curl_xml.c +++ b/src/curl_xml.c @@ -170,7 +170,6 @@ static void cx_list_free (llist_t *list) /* {{{ */ } llist_destroy (list); - list = NULL; } /* }}} void cx_list_free */ static void cx_free (void *arg) /* {{{ */