summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-05-27 14:15:30 (GMT)
committer John Mark Bell <jmb@netsurf-browser.org>2009-05-27 14:15:30 (GMT)
commit6f8a2061ce1356bc0cd31e6946e37cf75b9c7094 (patch)
tree1792cfc6e110796c13f705f0e133ad1b98d87f86
parent80e8b90e4076519907ef3271ed892bc972690fdc (diff)
downloadlibhubbub-6f8a2061ce1356bc0cd31e6946e37cf75b9c7094.tar.gz
libhubbub-6f8a2061ce1356bc0cd31e6946e37cf75b9c7094.tar.bz2
Remove redundant code.
svn path=/trunk/hubbub/; revision=7580
-rw-r--r--src/tokeniser/tokeniser.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/tokeniser/tokeniser.c b/src/tokeniser/tokeniser.c
index fa9bbd9..7c2f6f0 100644
--- a/src/tokeniser/tokeniser.c
+++ b/src/tokeniser/tokeniser.c
@@ -918,19 +918,6 @@ hubbub_error hubbub_tokeniser_handle_close_tag_open(hubbub_tokeniser *tokeniser)
/* assert(tokeniser->context.chars.ptr[0] == '<'); */
/* assert(tokeniser->context.chars.ptr[1] == '/'); */
- error = parserutils_inputstream_peek(tokeniser->input,
- tokeniser->context.pending, &cptr, &len);
- if (error != PARSERUTILS_OK) {
- if (error == PARSERUTILS_EOF) {
- tokeniser->state = STATE_DATA;
- return emit_current_chars(tokeniser);
- } else {
- return hubbub_error_from_parserutils_error(error);
- }
- }
-
- c = *cptr;
-
/**\todo fragment case */
if (tokeniser->content_model == HUBBUB_CONTENT_MODEL_RCDATA ||