From 8715fc1e4caee09bde28f8e6844ad1a3bfe52f0e Mon Sep 17 00:00:00 2001 From: Amos Kong Date: Fri, 3 Aug 2012 11:06:22 +0800 Subject: socket: clean up redundant assignment Signed-off-by: Amos Kong Signed-off-by: Stefan Hajnoczi --- qemu-sockets.c | 1 - 1 file changed, 1 deletion(-) (limited to 'qemu-sockets.c') diff --git a/qemu-sockets.c b/qemu-sockets.c index 668fa93..beb2bb6 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); -- cgit v1.1