diff --git a/sys/dev/usb/if_mue.c b/sys/dev/usb/if_mue.c index 065a7a5e0c0a..a1260c0b2be7 100644 --- a/sys/dev/usb/if_mue.c +++ b/sys/dev/usb/if_mue.c @@ -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 -__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.