diff options
author | Amos Kong <akong@redhat.com> | 2012-08-03 11:06:22 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-08-03 14:25:21 +0100 |
commit | 8715fc1e4caee09bde28f8e6844ad1a3bfe52f0e (patch) | |
tree | cf82844164ffc735ac8537727dc3d501d6cc1626 /qemu-sockets.c | |
parent | 536c86fbf85ba1ab1651b028a4670033e3dfc9ed (diff) |
socket: clean up redundant assignment
Signed-off-by: Amos Kong <akong@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'qemu-sockets.c')
-rw-r--r-- | qemu-sockets.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/qemu-sockets.c b/qemu-sockets.c index 668fa93294..beb2bb6f4a 100644 --- a/qemu-sockets.c +++ b/qemu-sockets.c @@ -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); |