Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
itojun committed May 7, 2000
1 parent 61a5b0c commit 560953e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions kame/kame/libipsec/ipsec_dump_policy.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $KAME: ipsec_dump_policy.c,v 1.10 2000/05/07 05:28:24 itojun Exp $ */
/* $KAME: ipsec_dump_policy.c,v 1.11 2000/05/07 05:29:47 itojun Exp $ */

/*
* Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project.
Expand Down Expand Up @@ -74,7 +74,6 @@ ipsec_dump_policy(policy, delimiter)
struct sadb_x_ipsecrequest *xisr;
size_t off, buflen;
char *buf;
int error;
char isrbuf[1024];
char *newbuf;

Expand Down Expand Up @@ -179,7 +178,6 @@ ipsec_dump_ipsecrequest(buf, len, xisr, bound)
{
const char *proto, *mode, *level;
char abuf[NI_MAXHOST * 2 + 2];
int error;

if (xisr->sadb_x_ipsecrequest_len > bound) {
__ipsec_errcode = EIPSEC_INVAL_PROTO;
Expand Down

0 comments on commit 560953e

Please sign in to comment.