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 da431b92ddc1eb7eb007ff0509d3a459e6976a1f..9cf4e541cc33eb0e117747db854659086efb842a 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");
                }
        }
 }