summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2006-04-04 10:11:15 +0000
committerdd <dd@FreeBSD.org>2006-04-04 10:11:15 +0000
commit264a13426d82be5763bf90bc3975c0dd6962d34a (patch)
tree63e85c3cc887e5f38542bf53b14989fb574010dc /sys
parent275c043cbe67c0778a690932c6ed437ed4af83a3 (diff)
downloadFreeBSD-src-264a13426d82be5763bf90bc3975c0dd6962d34a.zip
FreeBSD-src-264a13426d82be5763bf90bc3975c0dd6962d34a.tar.gz
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.
Diffstat (limited to 'sys')
-rw-r--r--sys/netipsec/keysock.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netipsec/keysock.c b/sys/netipsec/keysock.c
index 9d87b1f..a590f1e 100644
--- a/sys/netipsec/keysock.c
+++ b/sys/netipsec/keysock.c
@@ -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
OpenPOWER on IntegriCloud