summaryrefslogtreecommitdiff
path: root/src/treebuilder/in_table.c
diff options
context:
space:
mode:
authorFran├žois Revel <mmu_man@netsurf-browser.org>2008-11-30 00:35:33 +0000
committerFran├žois Revel <mmu_man@netsurf-browser.org>2008-11-30 00:35:33 +0000
commit4b9735ac3a48e56985c58de4c6f0a0a360c73323 (patch)
treefcd9426d6cddc319b024e4211fd3274e7cfa0f79 /src/treebuilder/in_table.c
parent8b89c771568230fad877f86c2b13cba562137ac2 (diff)
downloadlibhubbub-4b9735ac3a48e56985c58de4c6f0a0a360c73323.tar.gz
libhubbub-4b9735ac3a48e56985c58de4c6f0a0a360c73323.tar.bz2
C89
svn path=/trunk/hubbub/; revision=5843
Diffstat (limited to 'src/treebuilder/in_table.c')
-rw-r--r--src/treebuilder/in_table.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/treebuilder/in_table.c b/src/treebuilder/in_table.c
index a080f87..0530ee3 100644
--- a/src/treebuilder/in_table.c
+++ b/src/treebuilder/in_table.c
@@ -46,7 +46,8 @@ static inline void clear_stack_table_context(hubbub_treebuilder *treebuilder)
static inline bool process_input_in_table(hubbub_treebuilder *treebuilder,
const hubbub_token *token)
{
- for (size_t i = 0; i < token->data.tag.n_attributes; i++) {
+ size_t i;
+ for (i = 0; i < token->data.tag.n_attributes; i++) {
hubbub_attribute *attr = &token->data.tag.attributes[i];
if (!hubbub_string_match_ci(attr->value.ptr, attr->value.len,