diff options
author | phk <phk@FreeBSD.org> | 1997-11-07 09:21:01 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-11-07 09:21:01 +0000 |
commit | ccc7e7fa9fe3a03b7d36abe1e051eb84caa89480 (patch) | |
tree | 1bd13ce5c0eb05db5c842c70e635cd52797224f3 /sys/i386/isa/if_zp.c | |
parent | 4d268889365c1d9414bbca2f6c63d87db74ec37b (diff) | |
download | FreeBSD-src-ccc7e7fa9fe3a03b7d36abe1e051eb84caa89480.zip FreeBSD-src-ccc7e7fa9fe3a03b7d36abe1e051eb84caa89480.tar.gz |
Rename some local variables to avoid shadowing other local variables.
Found by: -Wshadow
Diffstat (limited to 'sys/i386/isa/if_zp.c')
-rw-r--r-- | sys/i386/isa/if_zp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/isa/if_zp.c b/sys/i386/isa/if_zp.c index 5126c81..18bf360 100644 --- a/sys/i386/isa/if_zp.c +++ b/sys/i386/isa/if_zp.c @@ -34,7 +34,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * From: if_ep.c,v 1.9 1994/01/25 10:46:29 deraadt Exp $ - * $Id: if_zp.c,v 1.39 1997/09/21 21:41:14 gibbs Exp $ + * $Id: if_zp.c,v 1.40 1997/10/26 04:36:14 nate Exp $ */ /*- * TODO: @@ -537,9 +537,9 @@ zpattach(isa_dev) GO_WINDOW(0); { short tmp_addr[3]; - int i; - for (i = 0; i < 3; i++) { - tmp_addr[i] = htons(read_eeprom_data(BASE, i)); + int j; + for (j = 0; j < 3; j++) { + tmp_addr[i] = htons(read_eeprom_data(BASE, j)); } bcopy(tmp_addr, sc->arpcom.ac_enaddr, 6); } |