1
0
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:
Miciah Dashiel Butler Masters 2006-06-15 21:30:05 +00:00 committed by Miciah Dashiel Butler Masters
parent b41c7d4055
commit 81b4f8b917

View File

@ -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) {