summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Sidwell <andy@entai.co.uk>2008-06-16 06:42:13 +0000
committerAndrew Sidwell <andy@entai.co.uk>2008-06-16 06:42:13 +0000
commit1ffa71f714346581eeeb0ef24febc5db3ea82ff5 (patch)
tree62eac0026b168ae8cf867d4113e7d4f8232d93c4
parent702c4f884534d1b0d035afc6cc65687e1af12c06 (diff)
downloadlibhubbub-1ffa71f714346581eeeb0ef24febc5db3ea82ff5.tar.gz
libhubbub-1ffa71f714346581eeeb0ef24febc5db3ea82ff5.tar.bz2
Remove dead code.
svn path=/trunk/hubbub/; revision=4362
-rw-r--r--src/tokeniser/tokeniser.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/tokeniser/tokeniser.c b/src/tokeniser/tokeniser.c
index 3c0e4d0..bc460df 100644
--- a/src/tokeniser/tokeniser.c
+++ b/src/tokeniser/tokeniser.c
@@ -1772,16 +1772,11 @@ bool hubbub_tokeniser_handle_bogus_comment(hubbub_tokeniser *tokeniser)
bool hubbub_tokeniser_handle_markup_declaration_open(
hubbub_tokeniser *tokeniser)
{
- size_t len;
- uint32_t pos;
-
uint32_t c = hubbub_inputstream_peek(tokeniser->input);
if (c == HUBBUB_INPUTSTREAM_OOD)
return false;
- pos = hubbub_inputstream_cur_pos(tokeniser->input, &len);
-
if (c == '-') {
tokeniser->state = HUBBUB_TOKENISER_STATE_MATCH_COMMENT;
hubbub_inputstream_advance(tokeniser->input);