From: Pavel Rochnyack Date: Sat, 30 Sep 2017 11:10:39 +0000 (+0700) Subject: curl_xml: Removed excessive operation X-Git-Tag: collectd-5.8.0~59^2~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=65e4a089431217b9ef7222352deab31e3201bdaf;p=collectd.git curl_xml: Removed excessive operation --- diff --git a/src/curl_xml.c b/src/curl_xml.c index c24b63eb..d0b32cda 100644 --- a/src/curl_xml.c +++ b/src/curl_xml.c @@ -383,8 +383,6 @@ static int cx_handle_all_value_xpaths(xmlXPathContextPtr xpath_ctx, /* {{{ */ static int cx_handle_instance_xpath(xmlXPathContextPtr xpath_ctx, /* {{{ */ cx_xpath_t *xpath, value_list_t *vl) { - memset(vl->type_instance, 0, sizeof(vl->type_instance)); - /* Handle type instance */ if (xpath->instance != NULL) { char *node_value = cx_get_text_node_value(xpath_ctx, xpath->instance,