mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-05 05:05:00 +00:00
As a part of the ENTITY struct, is_param is correctly initialized even when XML_DTD is not defined. This can be seen in the 'lookup' function, which sets all the ENTITY memory, including the is_param flag, to zero during the ENTITY creation. Additionally, is_param can only be assigned XML_TRUE when XML_DTD is defined, which makes XML_DTD checks before is_param accesses not necessary. Currently, some of the is_param accesses are guarded by the XML_DTD and some not. This commit removes all XML_DTD guards that are meant for is_param accesses. |
||
---|---|---|
.. | ||
.gitignore | ||
ascii.h | ||
asciitab.h | ||
expat.h | ||
expat_external.h | ||
iasciitab.h | ||
internal.h | ||
latin1tab.h | ||
libexpat.def.cmake | ||
Makefile.am | ||
nametab.h | ||
siphash.h | ||
utf8tab.h | ||
winconfig.h | ||
xmlparse.c | ||
xmlrole.c | ||
xmlrole.h | ||
xmltok.c | ||
xmltok.h | ||
xmltok_impl.c | ||
xmltok_impl.h | ||
xmltok_ns.c |