mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
big dialogs: fix unused term in dlg_format_buttons
Fix this error when configured with --enable-debug --disable-utf-8: [CC] src/bfu/button.o cc1: warnings being treated as errors /home/Kalle/src/elinks-0.13/src/bfu/button.c: In function ‘dlg_format_buttons’: /home/Kalle/src/elinks-0.13/src/bfu/button.c:122: error: unused variable ‘term’
This commit is contained in:
parent
6a8e0ccd9b
commit
fe8cd7d7ba
@ -119,7 +119,9 @@ dlg_format_buttons(struct dialog_data *dlg_data,
|
||||
struct widget_data *widget_data, int n,
|
||||
int x, int *y, int w, int *rw, enum format_align align, int format_only)
|
||||
{
|
||||
#ifdef CONFIG_UTF8
|
||||
struct terminal *term = dlg_data->win->term;
|
||||
#endif
|
||||
int i1 = 0;
|
||||
|
||||
while (i1 < n) {
|
||||
|
Loading…
Reference in New Issue
Block a user