diff options
| author | Lars Ingebrigtsen | 2016-01-30 09:09:02 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-01-30 09:09:02 +0100 |
| commit | cc45809152ab596deb2115369116e573d43c219a (patch) | |
| tree | 6edd76850253193e8064e5648657b902caf76b10 /src | |
| parent | 4d430711122c74964a0e22e026bc2cb0b5dad1a1 (diff) | |
| download | emacs-cc45809152ab596deb2115369116e573d43c219a.tar.gz emacs-cc45809152ab596deb2115369116e573d43c219a.zip | |
Clean up compilation warnings
Diffstat (limited to 'src')
| -rw-r--r-- | src/process.c | 4 |
1 files changed, 1 insertions, 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) */) | |||
| 3489 | int family = -1; | 3489 | int family = -1; |
| 3490 | int ai_protocol = 0; | 3490 | int ai_protocol = 0; |
| 3491 | #ifdef HAVE_GETADDRINFO_A | 3491 | #ifdef HAVE_GETADDRINFO_A |
| 3492 | struct gaicb **dns_requests; | 3492 | struct gaicb **dns_requests = NULL; |
| 3493 | #endif | 3493 | #endif |
| 3494 | ptrdiff_t count = SPECPDL_INDEX (); | 3494 | ptrdiff_t count = SPECPDL_INDEX (); |
| 3495 | 3495 | ||
| @@ -3819,8 +3819,6 @@ usage: (make-network-process &rest ARGS) */) | |||
| 3819 | here will be nil, so we postpone connecting to the server. */ | 3819 | here will be nil, so we postpone connecting to the server. */ |
| 3820 | if (!p->is_server && NILP (ip_addresses)) | 3820 | if (!p->is_server && NILP (ip_addresses)) |
| 3821 | { | 3821 | { |
| 3822 | int channel; | ||
| 3823 | |||
| 3824 | p->dns_requests = dns_requests; | 3822 | p->dns_requests = dns_requests; |
| 3825 | p->status = Qconnect; | 3823 | p->status = Qconnect; |
| 3826 | dns_processes = Fcons (proc, dns_processes); | 3824 | dns_processes = Fcons (proc, dns_processes); |