aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2011-05-17 14:42:23 +0200
committerBjörn-Egil Dahlberg <[email protected]>2011-05-17 14:42:23 +0200
commit975c6fec571515e989f04d26322c42acb9030a23 (patch)
tree454c57fbf17f4264d24e4e512c25df678d642ebb /lib
parent5042beecbb520af5c88baee55f288e5488124e0c (diff)
downloadotp-975c6fec571515e989f04d26322c42acb9030a23.tar.gz
otp-975c6fec571515e989f04d26322c42acb9030a23.tar.bz2
otp-975c6fec571515e989f04d26322c42acb9030a23.zip
Remove unused variable in epmd_port
Diffstat (limited to 'lib')
-rw-r--r--lib/erl_interface/src/epmd/epmd_port.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/erl_interface/src/epmd/epmd_port.c b/lib/erl_interface/src/epmd/epmd_port.c
index 698c75c217..6450f285cc 100644
--- a/lib/erl_interface/src/epmd/epmd_port.c
+++ b/lib/erl_interface/src/epmd/epmd_port.c
@@ -228,11 +228,8 @@ int ei_epmd_port (struct in_addr *addr, const char *alive, int *dist)
return ei_epmd_port_tmo (addr, alive, dist, 0);
}
-int ei_epmd_port_tmo (struct in_addr *addr, const char *alive, int *dist,
- unsigned ms)
+int ei_epmd_port_tmo (struct in_addr *addr, const char *alive, int *dist, unsigned ms)
{
- int i;
-
- return ei_epmd_r4_port(addr,alive,dist,ms);
+ return ei_epmd_r4_port(addr,alive,dist,ms);
}