A break after a return is useless.
This commit is contained in:
parent
285344c7f5
commit
5939a9b399
@ -307,7 +307,6 @@ yesno: if (sysctl(mib, 2, &value, &len, NULL, 0) == -1)
|
||||
if (value == 0)
|
||||
return (defaultresult);
|
||||
return (value);
|
||||
break;
|
||||
default:
|
||||
errno = EINVAL;
|
||||
return (-1);
|
||||
|
Loading…
Reference in New Issue
Block a user