Avoid unitialized use warning.
This commit is contained in:
parent
e370c0d510
commit
b4c9d52774
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_mue.c,v 1.41 2019/02/06 22:54:41 rin Exp $ */
|
||||
/* $NetBSD: if_mue.c,v 1.42 2019/03/05 08:17:44 martin Exp $ */
|
||||
/* $OpenBSD: if_mue.c,v 1.3 2018/08/04 16:42:46 jsg Exp $ */
|
||||
|
||||
/*
|
||||
@ -20,7 +20,7 @@
|
||||
/* Driver for Microchip LAN7500/LAN7800 chipsets. */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_mue.c,v 1.41 2019/02/06 22:54:41 rin Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_mue.c,v 1.42 2019/03/05 08:17:44 martin Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_usb.h"
|
||||
@ -515,7 +515,7 @@ mue_read_eeprom(struct mue_softc *sc, uint8_t *dest, int off, int cnt)
|
||||
{
|
||||
uint32_t val = 0; /* XXX gcc */
|
||||
uint8_t byte;
|
||||
int i, err;
|
||||
int i, err = 0;
|
||||
|
||||
/*
|
||||
* EEPROM pins are muxed with the LED function on LAN7800 device.
|
||||
|
Loading…
Reference in New Issue
Block a user