svn commit: r264982 - head/sys/dev/usb/wlan

Andreas Tobler andreast at FreeBSD.org
Sat Apr 26 19:30:04 UTC 2014


Author: andreast
Date: Sat Apr 26 19:30:04 2014
New Revision: 264982
URL: http://svnweb.freebsd.org/changeset/base/264982

Log:
  Fix gcc build, initialize off variable.

Modified:
  head/sys/dev/usb/wlan/if_urtwn.c

Modified: head/sys/dev/usb/wlan/if_urtwn.c
==============================================================================
--- head/sys/dev/usb/wlan/if_urtwn.c	Sat Apr 26 17:56:39 2014	(r264981)
+++ head/sys/dev/usb/wlan/if_urtwn.c	Sat Apr 26 19:30:04 2014	(r264982)
@@ -1302,6 +1302,7 @@ urtwn_r88e_read_rom(struct urtwn_softc *
 	uint8_t off, msk, tmp;
 	int i;
 
+	off = 0;
 	urtwn_efuse_switch_power(sc);
 
 	/* Read full ROM image. */


More information about the svn-src-head mailing list