summaryrefslogtreecommitdiffstats
path: root/sys/dev/aac
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2013-03-01 22:09:08 +0000
committermarius <marius@FreeBSD.org>2013-03-01 22:09:08 +0000
commit55ff3cee07ed79aca01bab6297b24f104a622058 (patch)
treecdea341c47932ef10a85a0bf302cf9dbb58f088d /sys/dev/aac
parentd85a1ce450d43074c2b7a0b3598366de11994d72 (diff)
downloadFreeBSD-src-55ff3cee07ed79aca01bab6297b24f104a622058.zip
FreeBSD-src-55ff3cee07ed79aca01bab6297b24f104a622058.tar.gz
Initialize count in order to appease clang.
Submitted by: delphij
Diffstat (limited to 'sys/dev/aac')
-rw-r--r--sys/dev/aac/aac_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/aac/aac_pci.c b/sys/dev/aac/aac_pci.c
index 87ada1c..f768c8b 100644
--- a/sys/dev/aac/aac_pci.c
+++ b/sys/dev/aac/aac_pci.c
@@ -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)
OpenPOWER on IntegriCloud