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:
Dima Dorfman 2006-04-04 10:11:15 +00:00
parent b53bf1269c
commit 0d3c733da7

View File

@ -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