From cc45809152ab596deb2115369116e573d43c219a Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 30 Jan 2016 09:09:02 +0100 Subject: [PATCH] Clean up compilation warnings --- src/process.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/process.c b/src/process.c index 43fb6abaa9e..8cfa48db505 100644 --- a/src/process.c +++ b/src/process.c @@ -3489,7 +3489,7 @@ usage: (make-network-process &rest ARGS) */) int family = -1; int ai_protocol = 0; #ifdef HAVE_GETADDRINFO_A - struct gaicb **dns_requests; + struct gaicb **dns_requests = NULL; #endif ptrdiff_t count = SPECPDL_INDEX (); @@ -3819,8 +3819,6 @@ usage: (make-network-process &rest ARGS) */) here will be nil, so we postpone connecting to the server. */ if (!p->is_server && NILP (ip_addresses)) { - int channel; - p->dns_requests = dns_requests; p->status = Qconnect; dns_processes = Fcons (proc, dns_processes); -- 2.39.5