summaryrefslogtreecommitdiffstats
path: root/sys/dev/bce
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2013-03-01 22:05:20 +0000
committermarius <marius@FreeBSD.org>2013-03-01 22:05:20 +0000
commitd85a1ce450d43074c2b7a0b3598366de11994d72 (patch)
tree0c5849b82c683810b126b9e4dc9926b31559c641 /sys/dev/bce
parent8857575b13cf118cc89efb1b462dd314df09c180 (diff)
downloadFreeBSD-src-d85a1ce450d43074c2b7a0b3598366de11994d72.zip
FreeBSD-src-d85a1ce450d43074c2b7a0b3598366de11994d72.tar.gz
Initialize count in order to appease clang.
Submitted by: delphij
Diffstat (limited to 'sys/dev/bce')
-rw-r--r--sys/dev/bce/if_bce.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/bce/if_bce.c b/sys/dev/bce/if_bce.c
index 8f6bc48..032ca5f 100644
--- a/sys/dev/bce/if_bce.c
+++ b/sys/dev/bce/if_bce.c
@@ -1076,6 +1076,7 @@ bce_attach(device_t dev)
bce_probe_pci_caps(dev, sc);
rid = 1;
+ count = 0;
#if 0
/* Try allocating MSI-X interrupts. */
if ((sc->bce_cap_flags & BCE_MSIX_CAPABLE_FLAG) &&
OpenPOWER on IntegriCloud