Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2014 19:30:04 +0000 (UTC)
From:      Andreas Tobler <andreast@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r264982 - head/sys/dev/usb/wlan
Message-ID:  <201404261930.s3QJU4PW007812@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404261930.s3QJU4PW007812>