Remove dereference of uninitialized (and unused) variable. This enables
netatalk to work again.
This commit is contained in:
parent
ede59acb91
commit
0dde35d195
@ -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