]> git.eshelyaron.com Git - emacs.git/commitdiff
Further make_network_process clean up
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 30 Jan 2016 00:33:30 +0000 (01:33 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 30 Jan 2016 00:33:30 +0000 (01:33 +0100)
* process.c (Fmake_network_process): Remove setting of unused
family variable.

src/process.c

index 88441c91de67d763e16b2748d4f2e0bad4a3eae3..e40d7a46267646313e51537187d7262800df9ff7 100644 (file)
@@ -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.  */