aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_options.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-09-05 16:10:36 +0200
committerHans Nilsson <[email protected]>2017-09-11 12:11:43 +0200
commit8182596a52b95edb78542bf854aa7b8ff93cc245 (patch)
treeb5f13fb9c1baf53f8d59f0cbeebfe7305f34959c /lib/ssh/src/ssh_options.erl
parentc657c2133913412f02442b2366c5580d0bc4beef (diff)
downloadotp-8182596a52b95edb78542bf854aa7b8ff93cc245.tar.gz
otp-8182596a52b95edb78542bf854aa7b8ff93cc245.tar.bz2
otp-8182596a52b95edb78542bf854aa7b8ff93cc245.zip
ssh: fix dialyzer error
Diffstat (limited to 'lib/ssh/src/ssh_options.erl')
-rw-r--r--lib/ssh/src/ssh_options.erl3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/ssh/src/ssh_options.erl b/lib/ssh/src/ssh_options.erl
index d8931da774..6939094401 100644
--- a/lib/ssh/src/ssh_options.erl
+++ b/lib/ssh/src/ssh_options.erl
@@ -938,9 +938,6 @@ check_preferred_algorithms(Algs) when is_list(Algs) ->
check_input_ok(Algs),
{true, normalize_mod_algs(Algs, true)};
-check_preferred_algorithms(Algs) when is_list(Algs) ->
- check_preferred_algorithms({false,Algs});
-
check_preferred_algorithms(_) ->
error_in_check(modify_algorithms, "Bad option value. List expected.").