Remove unneeded variable `ocn_mute'.
Found by: LLVM's scan-build
This commit is contained in:
parent
5225593633
commit
318b1c3fd0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189072
@ -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