Remove useless code
authorColin Leroy <colin@colino.net>
Wed, 31 Aug 2016 14:47:50 +0000 (16:47 +0200)
committerColin Leroy <colin@colino.net>
Wed, 31 Aug 2016 14:47:50 +0000 (16:47 +0200)
src/common/xmlprops.c

index dea67f493a6bbad3d553efc75871e31970367836..9aadc3bd5ac533817209a36aaa89e2837f02b18c 100644 (file)
@@ -272,7 +272,6 @@ static void xmlprops_read_props( XmlProperty *props, XMLFile *file ) {
                pValue = g_strdup("");
                if (! file->level ) break;
                xml_parse_next_tag( file );
                pValue = g_strdup("");
                if (! file->level ) break;
                xml_parse_next_tag( file );
-               xml_get_current_tag( file );
                if( xml_compare_tag( file, XMLS_ELTAG_PROPERTY ) ) {
                        attr = xml_get_current_tag_attr( file );
                        while( attr ) {
                if( xml_compare_tag( file, XMLS_ELTAG_PROPERTY ) ) {
                        attr = xml_get_current_tag_attr( file );
                        while( attr ) {