git: 6ea39dd6c73b - main - tzsetup: remove dedundant declaration
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 24 Nov 2021 10:12:36 UTC
The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/src/commit/?id=6ea39dd6c73b9667bfa7540d3b26295213105871 commit 6ea39dd6c73b9667bfa7540d3b26295213105871 Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2021-11-24 10:12:05 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2021-11-24 10:12:05 +0000 tzsetup: remove dedundant declaration --- usr.sbin/tzsetup/tzsetup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/tzsetup/tzsetup.c b/usr.sbin/tzsetup/tzsetup.c index 93871e27fb7b..4fc0fa88d438 100644 --- a/usr.sbin/tzsetup/tzsetup.c +++ b/usr.sbin/tzsetup/tzsetup.c @@ -181,7 +181,7 @@ again: 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) {