Commit 8715fc1e authored by Amos Kong's avatar Amos Kong Committed by Stefan Hajnoczi
Browse files

socket: clean up redundant assignment



Signed-off-by: default avatarAmos Kong <akong@redhat.com>
Signed-off-by: default avatarStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
parent 536c86fb
...@@ -284,7 +284,6 @@ int inet_connect_opts(QemuOpts *opts, Error **errp) ...@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment