svn commit: r247590 - head/sys/dev/bce

Marius Strobl marius at FreeBSD.org
Fri Mar 1 22:05:21 UTC 2013


Author: marius
Date: Fri Mar  1 22:05:20 2013
New Revision: 247590
URL: http://svnweb.freebsd.org/changeset/base/247590

Log:
  Initialize count in order to appease clang.
  
  Submitted by:	delphij

Modified:
  head/sys/dev/bce/if_bce.c

Modified: head/sys/dev/bce/if_bce.c
==============================================================================
--- head/sys/dev/bce/if_bce.c	Fri Mar  1 22:03:57 2013	(r247589)
+++ head/sys/dev/bce/if_bce.c	Fri Mar  1 22:05:20 2013	(r247590)
@@ -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) &&


More information about the svn-src-all mailing list