git: 2c4499dcd72a - main - bsdinstall: add missing init of fd variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 May 2022 15:24:21 UTC
The branch main has been updated by brd: URL: https://cgit.FreeBSD.org/src/commit/?id=2c4499dcd72a335a72341492e37f859eed422a6f commit 2c4499dcd72a335a72341492e37f859eed422a6f Author: Brad Davis <brd@FreeBSD.org> AuthorDate: 2022-05-13 15:06:02 +0000 Commit: Brad Davis <brd@FreeBSD.org> CommitDate: 2022-05-13 15:06:02 +0000 bsdinstall: add missing init of fd variable Missed breaking this commit into smaller pieces Approved by: kp --- usr.sbin/bsdinstall/partedit/part_wizard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/bsdinstall/partedit/part_wizard.c b/usr.sbin/bsdinstall/partedit/part_wizard.c index bc6427f859da..a030608ac764 100644 --- a/usr.sbin/bsdinstall/partedit/part_wizard.c +++ b/usr.sbin/bsdinstall/partedit/part_wizard.c @@ -105,7 +105,7 @@ boot_disk_select(struct gmesh *mesh) const char *type, *desc; char diskdesc[512]; char *chosen; - int i, button, selected, n = 0; + int i, button, fd, selected, n = 0; struct bsddialog_conf conf; bsddialog_initconf(&conf);