svn commit: r247591 - head/sys/dev/aac

Marius Strobl marius at FreeBSD.org
Fri Mar 1 22:09:08 UTC 2013


Author: marius
Date: Fri Mar  1 22:09:08 2013
New Revision: 247591
URL: http://svnweb.freebsd.org/changeset/base/247591

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

Modified:
  head/sys/dev/aac/aac_pci.c

Modified: head/sys/dev/aac/aac_pci.c
==============================================================================
--- head/sys/dev/aac/aac_pci.c	Fri Mar  1 22:05:20 2013	(r247590)
+++ head/sys/dev/aac/aac_pci.c	Fri Mar  1 22:09:08 2013	(r247591)
@@ -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)


More information about the svn-src-all mailing list