emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] feature/async-dns 860303c 2/3: Further make_network_proces


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] feature/async-dns 860303c 2/3: Further make_network_process clean up
Date: Sat, 30 Jan 2016 01:25:16 +0000

branch: feature/async-dns
commit 860303cc4d2b783dfbac75d0ebe2f68703c09946
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Further make_network_process clean up
    
    * process.c (Fmake_network_process): Remove setting of unused
    family variable.
---
 src/process.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/process.c b/src/process.c
index 88441c9..e40d7a4 100644
--- a/src/process.c
+++ b/src/process.c
@@ -3691,7 +3691,6 @@ usage: (make-network-process &rest ARGS)  */)
                                (lres->ai_addr, lres->ai_addrlen),
                                ip_addresses);
          ai_protocol = lres->ai_protocol;
-         family = lres->ai_family;
        }
 
       ip_addresses = Fnreverse (ip_addresses);
@@ -3743,7 +3742,6 @@ usage: (make-network-process &rest ARGS)  */)
          ip_addresses = Ncons (make_number (host_info_ptr->h_addr,
                                             host_info_ptr->h_length),
                                Qnil);
-         family = host_info_ptr->h_addrtype;
        }
       else
        /* Attempt to interpret host as numeric inet address.  */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]