From: Lars Ingebrigtsen Date: Sat, 30 Jan 2016 08:09:02 +0000 (+0100) Subject: Clean up compilation warnings X-Git-Tag: emacs-26.0.90~2520^2~54 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cc45809152ab596deb2115369116e573d43c219a;p=emacs.git Clean up compilation warnings --- 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);