From 65e4a089431217b9ef7222352deab31e3201bdaf Mon Sep 17 00:00:00 2001 From: Pavel Rochnyack Date: Sat, 30 Sep 2017 18:10:39 +0700 Subject: [PATCH] curl_xml: Removed excessive operation --- src/curl_xml.c | 2 -- 1 file changed, 2 deletions(-) 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, -- 2.30.2