mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 19:14:34 +04:00
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>
(cherry picked from commit b3d661cd84)
This commit is contained in:
@@ -2599,6 +2599,7 @@ tokenize_html(const char *s, size_t len, html_token_callback_t cb, void *ud)
|
|||||||
|
|
||||||
case END:
|
case END:
|
||||||
/* not reached */
|
/* not reached */
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user