diff options
Diffstat (limited to 'libtxt/xml.c')
-rw-r--r-- | libtxt/xml.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libtxt/xml.c b/libtxt/xml.c index b92181b..f40b289 100644 --- a/libtxt/xml.c +++ b/libtxt/xml.c @@ -485,10 +485,6 @@ enum xml_error xml_parse(struct xml *state, const char *buffer, u32 buffer_lengt state_commit(state, &temp); } - // TODO: Only for self-closing tags - if (end - lt == 0) - break; - if (end - lt < TAG_MINSIZE) return XML_ERROR_BUFFERDRY; |