diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2005-03-04 16:10:00 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2005-03-04 16:10:00 +0000 |
commit | cc45a7df6c2672aaa146b8e31fb6b8b83b337155 (patch) | |
tree | f7f591abee95351af6ccbeb767759a66a3689a25 /sbin/isakmpd | |
parent | 5442a4d50fec6be74ed7ef79b90c027a5b8495b2 (diff) |
remove unused variable.
noticed by and ok markus
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r-- | sbin/isakmpd/udp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/isakmpd/udp.c b/sbin/isakmpd/udp.c index 1ce03ef7740..f2428f95bff 100644 --- a/sbin/isakmpd/udp.c +++ b/sbin/isakmpd/udp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udp.c,v 1.81 2005/02/25 14:14:31 hshoexer Exp $ */ +/* $OpenBSD: udp.c,v 1.82 2005/03/04 16:09:59 hshoexer Exp $ */ /* $EOM: udp.c,v 1.57 2001/01/26 10:09:57 niklas Exp $ */ /* @@ -276,7 +276,7 @@ udp_create(char *name) { struct virtual_transport *v; struct udp_transport *u; - struct transport *rv, *t; + struct transport *rv; struct sockaddr *dst, *addr; char *addr_str, *port_str; struct conf_list *addr_list = 0; @@ -352,7 +352,6 @@ udp_create(char *name) rv = 0; goto ret; } - t = (struct transport *)v; rv = udp_clone(v->main, dst); if (rv) rv->vtbl = &udp_transport_vtbl; |