Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

compiling if_mue.c fails



Hi,

with source cvs-updated an hour or so ago build.sh release for
evbearmv7hf-el fails:


/u/NetBSD/src/sys/dev/usb/if_mue.c: In function 'mue_miibus_statchg':
/u/NetBSD/src/sys/dev/usb/if_mue.c:69:2: error: 'sc' may be used uninitialized in this function [-Werror=maybe-uninitialized]
    device_printf((sc)->mue_dev, "%s: " fmt, __func__, ##args);
    ^~~~~~~~~~~~~
/u/NetBSD/src/sys/dev/usb/if_mue.c:362:20: note: 'sc' was declared here
    struct mue_softc *sc;
                      ^~

cc1: all warnings being treated as errors
--- if_mue.o ---
*** [if_mue.o] Error code 1
nbmake[2]: stopped in /u/NetBSD/arch/evbearmv7hf-el/obj/sys/arch/evbarm/compile/BEAGLEBONE


Kurt


Home | Main Index | Thread Index | Old Index