Date: Fri, 26 Dec 2014 13:44:42 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r276245 - head/sys/arm/ti Message-ID: <201412261344.sBQDigpM013792@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ian Date: Fri Dec 26 13:44:41 2014 New Revision: 276245 URL: https://svnweb.freebsd.org/changeset/base/276245 Log: Squelch a (bogus) gcc use-before-init warning. Modified: head/sys/arm/ti/ti_gpio.c Modified: head/sys/arm/ti/ti_gpio.c ============================================================================== --- head/sys/arm/ti/ti_gpio.c Fri Dec 26 11:34:45 2014 (r276244) +++ head/sys/arm/ti/ti_gpio.c Fri Dec 26 13:44:41 2014 (r276245) @@ -618,6 +618,7 @@ ti_gpio_intr(void *arg) sc = (struct ti_gpio_softc *)arg; bank_last = -1; + reg = 0; /* squelch bogus gcc warning */ for (irq = 0; irq < sc->sc_maxpin; irq++) { /* Read interrupt status only once for each bank. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412261344.sBQDigpM013792>