mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Remove unused variables s and error in key_detach. The previous
revision removed their usage but did not remove the declaration. This caused a warning in my build, which was fatal with -Werror.
This commit is contained in:
parent
b53bf1269c
commit
0d3c733da7
1 changed files with 0 additions and 1 deletions
|
|
@ -460,7 +460,6 @@ static void
|
|||
key_detach(struct socket *so)
|
||||
{
|
||||
struct keycb *kp = (struct keycb *)sotorawcb(so);
|
||||
int s, error;
|
||||
|
||||
KASSERT(kp != NULL, ("key_detach: kp == NULL"));
|
||||
if (kp->kp_raw.rcb_proto.sp_protocol
|
||||
|
|
|
|||
Loading…
Reference in a new issue