From 84c8bd741e53e64a47d34c947068c5472489a6ad Mon Sep 17 00:00:00 2001 From: joerg Date: Sat, 15 Nov 2014 02:01:27 +0000 Subject: [PATCH] Array can't be null. --- gnu/dist/texinfo/makeinfo/xml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/dist/texinfo/makeinfo/xml.c b/gnu/dist/texinfo/makeinfo/xml.c index 5580255ad653..7f849240af17 100644 --- a/gnu/dist/texinfo/makeinfo/xml.c +++ b/gnu/dist/texinfo/makeinfo/xml.c @@ -1,4 +1,4 @@ -/* $NetBSD: xml.c,v 1.1.1.5 2008/09/02 07:50:51 christos Exp $ */ +/* $NetBSD: xml.c,v 1.2 2014/11/15 02:01:27 joerg Exp $ */ /* xml.c -- xml output. Id: xml.c,v 1.52 2004/12/19 17:02:23 karl Exp @@ -870,7 +870,7 @@ xml_insert_element_with_attribute (elt, arg, format, va_alist) return; } - if (!xml_element_list[elt].name || !strlen (xml_element_list[elt].name)) + if (!strlen (xml_element_list[elt].name)) { /*printf ("Warning: Inserting empty element %d\n", elt);*/ return;