mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
socket: clean up redundant assignment
Signed-off-by: Amos Kong <akong@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
parent
536c86fbf8
commit
8715fc1e4c
1 changed files with 0 additions and 1 deletions
|
@ -284,7 +284,6 @@ int inet_connect_opts(QemuOpts *opts, Error **errp)
|
||||||
inet_strfamily(e->ai_family),
|
inet_strfamily(e->ai_family),
|
||||||
e->ai_canonname, uaddr, uport, strerror(errno));
|
e->ai_canonname, uaddr, uport, strerror(errno));
|
||||||
closesocket(sock);
|
closesocket(sock);
|
||||||
sock = -1;
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
freeaddrinfo(res);
|
freeaddrinfo(res);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue