Remove unneeded variable `ocn_mute'.
Found by: LLVM's scan-build
This commit is contained in:
parent
4f11d3e937
commit
f854be19d0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user