mirror of
https://github.com/rkd77/elinks.git
synced 2024-06-30 01:55:30 +00:00
css_apply_list_style: fix compiler warning
Add a case for CSS_LIST_ORDINAL (and assert(0)) to the switch in css_apply_list_style. This change should eliminate a warning from the compiler reported by Witold that CSS_LIST_ORDINAL is not handled.
This commit is contained in:
parent
e37caa01ec
commit
416d7fac7d
|
@ -124,6 +124,7 @@ css_apply_list_style(struct html_context *html_context,
|
|||
case CSS_LIST_KATAKANA: element->parattr.flags = P_NUMBER; break;
|
||||
case CSS_LIST_HIRAGANA_IROHA: element->parattr.flags = P_NUMBER; break;
|
||||
case CSS_LIST_KATAKANA_IROHA: element->parattr.flags = P_NUMBER; break;
|
||||
case CSS_LIST_ORDINAL: assert(0); break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user