ucode-mod-html: fix build with gcc 5
Older gcc versions raise a `label at end of compound statement` error due to the empty default case. Fix the problem by adding an explicit `break` statement. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
762c45eb2f
commit
b3d661cd84
1 changed files with 1 additions and 0 deletions
|
@ -2599,6 +2599,7 @@ tokenize_html(const char *s, size_t len, html_token_callback_t cb, void *ud)
|
|||
|
||||
case END:
|
||||
/* not reached */
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue