aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Ingebrigtsen2016-01-30 01:33:30 +0100
committerLars Ingebrigtsen2016-01-30 01:33:30 +0100
commit860303cc4d2b783dfbac75d0ebe2f68703c09946 (patch)
treea6b857a6aa8576a9160b97bbe55fff02a016768d /src
parent4876011820930e3f63c5129c432927a4b4600fab (diff)
downloademacs-860303cc4d2b783dfbac75d0ebe2f68703c09946.tar.gz
emacs-860303cc4d2b783dfbac75d0ebe2f68703c09946.zip
Further make_network_process clean up
* process.c (Fmake_network_process): Remove setting of unused family variable.
Diffstat (limited to 'src')
-rw-r--r--src/process.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c
index 88441c91de6..e40d7a46267 100644
--- a/src/process.c
+++ b/src/process.c
@@ -3691,7 +3691,6 @@ usage: (make-network-process &rest ARGS) */)
3691 (lres->ai_addr, lres->ai_addrlen), 3691 (lres->ai_addr, lres->ai_addrlen),
3692 ip_addresses); 3692 ip_addresses);
3693 ai_protocol = lres->ai_protocol; 3693 ai_protocol = lres->ai_protocol;
3694 family = lres->ai_family;
3695 } 3694 }
3696 3695
3697 ip_addresses = Fnreverse (ip_addresses); 3696 ip_addresses = Fnreverse (ip_addresses);
@@ -3743,7 +3742,6 @@ usage: (make-network-process &rest ARGS) */)
3743 ip_addresses = Ncons (make_number (host_info_ptr->h_addr, 3742 ip_addresses = Ncons (make_number (host_info_ptr->h_addr,
3744 host_info_ptr->h_length), 3743 host_info_ptr->h_length),
3745 Qnil); 3744 Qnil);
3746 family = host_info_ptr->h_addrtype;
3747 } 3745 }
3748 else 3746 else
3749 /* Attempt to interpret host as numeric inet address. */ 3747 /* Attempt to interpret host as numeric inet address. */