mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
done_listbox_item: if_assert_failed return
This commit is contained in:
parent
b41c7d4055
commit
81b4f8b917
@ -90,6 +90,7 @@ done_listbox_item(struct hierbox_browser *browser, struct listbox_item *item)
|
||||
struct listbox_data *box_data;
|
||||
|
||||
assert(item && list_empty(item->child));
|
||||
if_assert_failed return;
|
||||
|
||||
/* The option dialog needs this test */
|
||||
if (item->next) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user