From nobody Wed Nov 24 10:12:36 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A0A3218AFCEE; Wed, 24 Nov 2021 10:12:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HzcJN2mWJz3Lph; Wed, 24 Nov 2021 10:12:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3F369C7; Wed, 24 Nov 2021 10:12:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1AOACatV022110; Wed, 24 Nov 2021 10:12:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AOACaeg022109; Wed, 24 Nov 2021 10:12:36 GMT (envelope-from git) Date: Wed, 24 Nov 2021 10:12:36 GMT Message-Id: <202111241012.1AOACaeg022109@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Baptiste Daroussin Subject: git: 6ea39dd6c73b - main - tzsetup: remove dedundant declaration List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bapt X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6ea39dd6c73b9667bfa7540d3b26295213105871 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637748756; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4VgEFNfw94t19q6ppmq6sgflzOpyQ41j7F8ABNkNSD8=; b=o9j8d2pFA6NRB3p+Uq7CIdPaIkfVcUquKINN0iSrUyefknHEvOhWIVa3hfL0XmYG7883/8 /jafwhFgMkytdeVBlmqYs4OeKkgXbEqevdoUEWwm5QQVWI+HHSzFzzsLw+vQIYr7vpixOl 0vWhVY++yTsKtqZl+MoGiaAaOTmwa7ExnminzevGJZaBttK+Q/2HDXPzdA1Qsb7EgTba+Z qUNPdhBxz56xGiadyBWV2g2w5xDk8Bg+/3BQKSqu7VVsQzZO7+Xe3K4TzdOQmyquZ1KEU7 bmNjwm2FeiDWkhVw0WzGB1cJr5EsZLWZfI4NCLrZ2O9llbeJmCgJL6MpHmlX1A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637748756; a=rsa-sha256; cv=none; b=VIFlKvcI1HJmU+HECOvV8QUh6l0VKWvgpkhhYx1vnGpF0Om+wceX7B24sUK9VHFswcZZKJ 6gqy0UNn0zmumuQEQrIP8n1pBZnYXUk0mWIXBe4N2aPv5sqcLQLbXLnzgKKQdiqGeu9s+R HgQ+nytAUADBHk5h/5KLxaShZzOpqIMptajJo1ISEFwMbwMlhtcCWYwCpaxMuAeFsoPiaA wQqMkns+RZH2kDGlaP1CZeGT8loubUBAcjsCEJm50O8R5shiFd6jjOHTaobWn1CIeMYZJB Dna5oFyqZc2fSUS87n/3gJqsxjrTQ7GWKDOWlPJikRKzjUWfN7E6DXTMMpWsow== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/src/commit/?id=6ea39dd6c73b9667bfa7540d3b26295213105871 commit 6ea39dd6c73b9667bfa7540d3b26295213105871 Author: Baptiste Daroussin AuthorDate: 2021-11-24 10:12:05 +0000 Commit: Baptiste Daroussin 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) {