mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00: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:
committed by
Stefan Hajnoczi
parent
536c86fbf8
commit
8715fc1e4c
@ -284,7 +284,6 @@ int inet_connect_opts(QemuOpts *opts, Error **errp)
|
||||
inet_strfamily(e->ai_family),
|
||||
e->ai_canonname, uaddr, uport, strerror(errno));
|
||||
closesocket(sock);
|
||||
sock = -1;
|
||||
continue;
|
||||
}
|
||||
freeaddrinfo(res);
|
||||
|
Reference in New Issue
Block a user