Date: Wed, 11 Feb 2009 22:15:37 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ath/ath_hal/ar5416 ar5416_reset.c Message-ID: <200902112215.n1BMFqJN012565@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sam 2009-02-11 22:15:37 UTC
FreeBSD src repository
Modified files:
sys/dev/ath/ath_hal/ar5416 ar5416_reset.c
Log:
SVN rev 188499 on 2009-02-11 22:15:37Z by sam
gcc 4.3.2 examines getLowerUpperIndex() and concludes that it's not
guaranteed to initialize its two last arguments. Therefore, there is a
warning in the subsequent caller ar5416FillVpdTable(), which doesn't
initialize those arguments.
Change getLowerUpperIndex() to assign values to indexL and indexR even
in the case of assertion failure.
Submitted by: Pavel Roskin <proski@gnu.org>
Revision Changes Path
1.4 +1 -0 src/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902112215.n1BMFqJN012565>
