svn commit: r189072 - head/sys/kern

Ed Schouten ed at FreeBSD.org
Thu Feb 26 05:01:46 PST 2009


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);


More information about the svn-src-all mailing list