Remove dereference of uninitialized (and unused) variable. This enables
netatalk to work again.
This commit is contained in:
parent
fbe2a70d6b
commit
657038ddf7
@ -217,9 +217,6 @@ ddp_abort(struct socket *so)
|
||||
static void
|
||||
at_sockaddr(struct ddpcb *ddp, struct sockaddr **addr)
|
||||
{
|
||||
struct sockaddr_at *sat;
|
||||
|
||||
*sat = ddp->ddp_lsat;
|
||||
*addr = dup_sockaddr((struct sockaddr *)&ddp->ddp_lsat, 0);
|
||||
}
|
||||
|
||||
|
@ -217,9 +217,6 @@ ddp_abort(struct socket *so)
|
||||
static void
|
||||
at_sockaddr(struct ddpcb *ddp, struct sockaddr **addr)
|
||||
{
|
||||
struct sockaddr_at *sat;
|
||||
|
||||
*sat = ddp->ddp_lsat;
|
||||
*addr = dup_sockaddr((struct sockaddr *)&ddp->ddp_lsat, 0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user