[vlc-devel] [PATCH 3/3] misc/xml: remove dead code

Marvin Scholz epirat07 at gmail.com
Wed Sep 23 20:52:45 CEST 2020


---
 modules/misc/xml/libxml.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/modules/misc/xml/libxml.c b/modules/misc/xml/libxml.c
index 69637892be9..bfe14d1f140 100644
--- a/modules/misc/xml/libxml.c
+++ b/modules/misc/xml/libxml.c
@@ -189,16 +189,6 @@ skip:
     return likely(p_sys->node != NULL) ? ret : XML_READER_ERROR;
 }
 
-#if 0
-static char *ReaderValue( xml_reader_t *p_reader )
-{
-    const xmlChar *psz_value =
-        xmlTextReaderConstValue( p_reader->p_sys->xml );
-
-    return psz_value ? strdup( (const char *)psz_value ) : NULL;
-}
-#endif
-
 static const char *ReaderNextAttr( xml_reader_t *p_reader, const char **pval )
 {
     xml_reader_sys_t *p_sys = p_reader->p_sys;
-- 
2.24.3 (Apple Git-128)



More information about the vlc-devel mailing list