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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157471

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