Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2009 13:01:45 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r189072 - head/sys/kern
Message-ID:  <200902261301.n1QD1jkg028415@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Thu Feb 26 13:01:45 2009
New Revision: 189072
URL: http://svn.freebsd.org/changeset/base/189072

Log:
  Remove unneeded variable `ocn_mute'.
  
  Found by:	LLVM's scan-build

Modified:
  head/sys/kern/kern_cons.c

Modified: head/sys/kern/kern_cons.c
==============================================================================
--- head/sys/kern/kern_cons.c	Thu Feb 26 13:00:13 2009	(r189071)
+++ head/sys/kern/kern_cons.c	Thu Feb 26 13:01:45 2009	(r189072)
@@ -332,9 +332,7 @@ static int
 sysctl_kern_consmute(SYSCTL_HANDLER_ARGS)
 {
 	int error;
-	int ocn_mute;
 
-	ocn_mute = cn_mute;
 	error = sysctl_handle_int(oidp, &cn_mute, 0, req);
 	if (error != 0 || req->newptr == NULL)
 		return (error);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"



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