Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 2009 22:30:15 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 161277 for review
Message-ID:  <200904282230.n3SMUFnb061512@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=161277

Change 161277 by imp@imp_lighthouse on 2009/04/28 22:30:09

	Merge in DFBSD's 1.14 version of this file:
	
	Remove wrong semicolon.
	Sascha Wildner [Thu, 21 Aug 2008 12:19:33 +0000 (12:19 +0000)]
	Found-by: LLVM/Clang Static Analyzer

Affected files ...

.. //depot/projects/vap/sys/dev/bwi/bwirf.c#8 edit

Differences ...

==== //depot/projects/vap/sys/dev/bwi/bwirf.c#8 (text+ko) ====

@@ -31,7 +31,7 @@
  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  * 
- * $DragonFly: src/sys/dev/netif/bwi/bwirf.c,v 1.8 2008/01/15 09:01:13 sephe Exp $
+ * $DragonFly: src/sys/dev/netif/bwi/bwirf.c,v 1.9 2008/08/21 12:19:33 swildner Exp $
  */
 
 #include <sys/cdefs.h>
@@ -2114,7 +2114,7 @@
 		val -= adjust;
 		if (val < -32)
 			val = -32;
-		else if (val > 31);
+		else if (val > 31)
 			val = 31;
 
 		bwi_nrssi_write(mac, i, val);



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