Initialize count in order to appease clang.

Submitted by:	delphij
This commit is contained in:
Marius Strobl 2013-03-01 22:09:08 +00:00
parent 9e2585bfed
commit 20132a2238
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=247591

View file

@ -394,6 +394,7 @@ aac_pci_attach(device_t dev)
* Allocate the interrupt.
*/
rid = 0;
count = 0;
if (aac_enable_msi != 0 && pci_find_cap(dev, PCIY_MSI, &reg) == 0) {
count = pci_msi_count(dev);
if (count > 1)