diff options
| author | rin <rin@NetBSD.org> | 2023-06-20 07:46:03 +0000 |
|---|---|---|
| committer | rin <rin@NetBSD.org> | 2023-06-20 07:46:03 +0000 |
| commit | f33624ad92acdd8f67f44ce89a69a55ff4c78110 (patch) | |
| tree | 6e4023ab0f4f692a8ffdb874c861ccfd5ade78df /sys | |
| parent | 6606cc9b76cfe41da92421bd337dbdf586704161 (diff) | |
``int i'' is used only for SUPPORT_NFS || SUPPORT_TFTP.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/arch/i386/stand/efiboot/devopen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/stand/efiboot/devopen.c b/sys/arch/i386/stand/efiboot/devopen.c index cb9f3c931c7..89e52a44be1 100644 --- a/sys/arch/i386/stand/efiboot/devopen.c +++ b/sys/arch/i386/stand/efiboot/devopen.c @@ -1,4 +1,4 @@ -/* $NetBSD: devopen.c,v 1.13 2021/12/27 12:19:27 simonb Exp $ */ +/* $NetBSD: devopen.c,v 1.14 2023/06/20 07:46:03 rin Exp $ */ /*- * Copyright (c) 2005 The NetBSD Foundation, Inc. @@ -154,13 +154,13 @@ devopen(struct open_file *f, const char *fname, char **file) const char *xname = NULL; int unit, partition; int biosdev; - int i, error; + int error; #if defined(SUPPORT_NFS) || defined(SUPPORT_TFTP) struct devdesc desc; const struct netboot_fstab *nf; char *filename; size_t fsnamelen; - int n; + int i, n; #endif error = parsebootfile(fname, &fsname, &devname, &unit, &partition, |
