Coverity fixes
authorColin Leroy <colin@colino.net>
Thu, 5 Jun 2014 15:12:18 +0000 (17:12 +0200)
committerColin Leroy <colin@colino.net>
Thu, 5 Jun 2014 15:12:18 +0000 (17:12 +0200)
src/addrindex.c

index da431b9..9cf4e54 100644 (file)
@@ -2004,8 +2004,7 @@ static void addrindex_add_obj( XMLFile *file, AddressCvtNode *node ) {
                        node->list = g_list_append( node->list, newNode );
                }
                else {
-                       /* g_print( "invalid: !!! \n" ); */
-                       attr = xml_get_current_tag_attr( file );
+                       g_warning("Invalid tag");
                }
        }
 }