aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2011-05-17 16:16:20 +0200
committerBjörn-Egil Dahlberg <[email protected]>2011-05-17 16:16:20 +0200
commita7d1348d1a4e29e9aa423d30fe18468fc78f085d (patch)
treef2ecb38b7c6a650719ca03431dc589232805da8d
parent975c6fec571515e989f04d26322c42acb9030a23 (diff)
downloadotp-a7d1348d1a4e29e9aa423d30fe18468fc78f085d.tar.gz
otp-a7d1348d1a4e29e9aa423d30fe18468fc78f085d.tar.bz2
otp-a7d1348d1a4e29e9aa423d30fe18468fc78f085d.zip
Remove unused variable warning in inet_res
-rw-r--r--lib/kernel/src/inet_res.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/src/inet_res.erl b/lib/kernel/src/inet_res.erl
index d5a8a2f134..2276ddcd08 100644
--- a/lib/kernel/src/inet_res.erl
+++ b/lib/kernel/src/inet_res.erl
@@ -872,7 +872,7 @@ query_ns(S0, Id, Buffer, IP, Port, Timer, Retry, I,
end
end.
-query_udp(_S, _Id, _Buffer, _IP, _Port, 0, Verbose) ->
+query_udp(_S, _Id, _Buffer, _IP, _Port, 0, _Verbose) ->
timeout;
query_udp(S, Id, Buffer, IP, Port, Timeout, Verbose) ->
?verbose(Verbose, "Try UDP server : ~p:~p (timeout=~w)\n",
@@ -908,7 +908,7 @@ query_udp(S, Id, Buffer, IP, Port, Timeout, Verbose) ->
{error,econnrefused}
end.
-query_tcp(0, _Id, _Buffer, _IP, _Port, Verbose) ->
+query_tcp(0, _Id, _Buffer, _IP, _Port, _Verbose) ->
timeout;
query_tcp(Timeout, Id, Buffer, IP, Port, Verbose) ->
?verbose(Verbose, "Try TCP server : ~p:~p (timeout=~w)\n",