tzsetup: remove dedundant declaration

This commit is contained in:
Baptiste Daroussin 2021-11-24 11:12:05 +01:00
parent f872dde34c
commit 6ea39dd6c7

View File

@ -181,7 +181,7 @@ xdialog_menu(char *title, char *cprompt, int height, int width,
conf.title = title;
result = bsddialog_menu(conf, cprompt, height, width,
menu_height, item_no, listitems, NULL);
for (int i = 0; i < item_no; i++)
for (i = 0; i < item_no; i++)
if (listitems[i].on)
choice = i;
switch (result) {