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
					
				| @ -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); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Amos Kong
						Amos Kong