[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] feature/async-dns cc45809 2/2: Clean up compilation warnin
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] feature/async-dns cc45809 2/2: Clean up compilation warnings |
Date: |
Sat, 30 Jan 2016 08:09:11 +0000 |
branch: feature/async-dns
commit cc45809152ab596deb2115369116e573d43c219a
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Clean up compilation warnings
---
src/process.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/src/process.c b/src/process.c
index 43fb6ab..8cfa48d 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);