Address warning "initializer element is not computable at load time"

This commit is contained in:
Sebastian Pipping 2017-05-28 15:02:19 +02:00
parent a494d5358a
commit f0b63f56c8

View file

@ -1710,10 +1710,12 @@ START_TEST(test_attributes)
{ NULL, NULL }
};
ElementInfo info[] = {
{ "doc", 3, "id", doc_info },
{ "tag", 1, NULL, tag_info },
{ "doc", 3, "id", NULL },
{ "tag", 1, NULL, NULL },
{ NULL, 0, NULL, NULL }
};
info[0].attributes = doc_info;
info[1].attributes = tag_info;
XML_SetStartElementHandler(parser, counting_start_element_handler);
XML_SetUserData(parser, info);