diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2007-07-10 17:31:08 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2007-07-10 17:31:08 +0000 |
commit | 55251cf81d324f0dcdd74ac2c6d489317271aa9c (patch) | |
tree | 53b43f39419080269906d8255138bae27d492d5e /src/parser.c | |
parent | 1daa2ff9a9874f452f733584f7f0a21053add244 (diff) | |
download | libhubbub-55251cf81d324f0dcdd74ac2c6d489317271aa9c.tar.gz libhubbub-55251cf81d324f0dcdd74ac2c6d489317271aa9c.tar.bz2 |
Warning fixes
svn path=/trunk/hubbub/; revision=3393
Diffstat (limited to 'src/parser.c')
-rw-r--r-- | src/parser.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parser.c b/src/parser.c index e7a4fe8..258067f 100644 --- a/src/parser.c +++ b/src/parser.c @@ -108,6 +108,8 @@ hubbub_error hubbub_parser_setopt(hubbub_parser *parser, case HUBBUB_PARSER_CONTENT_MODEL: toktype = HUBBUB_TOKENISER_CONTENT_MODEL; break; + default: + return HUBBUB_INVALID; } return hubbub_tokeniser_setopt(parser->tok, toktype, |