1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[string] Cast to void to avoid warning

In this case NULL is checked elsewhere.
This commit is contained in:
Witold Filipczyk 2022-01-09 17:06:25 +01:00
parent 41da2da52c
commit fec54a50e9

View File

@ -440,8 +440,8 @@ abort:
label = get_attr_val(t_attr, "label", html_context->doc_cp);
if (label) new_menu_item(&lnk_menu, label, order - 1, 0);
if (!value || !label) {
init_string(&lbl);
init_string(&orig_lbl);
(void)init_string(&lbl);
(void)init_string(&orig_lbl);
nnmi = !!label;
}
}