summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimponic <loganhunt@simponic.xyz>2022-12-30 05:49:40 -0700
committerSimponic <loganhunt@simponic.xyz>2022-12-30 05:49:40 -0700
commit9add1557b30c630cf45a1018cefc9a4a202db113 (patch)
tree0b3388c01a0cf00628fe4a2cf88fe0fd726932d8 /lib
parent42425b02260d279cd9c12fb3e625282979b9e308 (diff)
downloadchessh-9add1557b30c630cf45a1018cefc9a4a202db113.tar.gz
chessh-9add1557b30c630cf45a1018cefc9a4a202db113.zip
Ignore unused cli vars
Diffstat (limited to 'lib')
-rw-r--r--lib/chessh/ssh/cli.ex14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/chessh/ssh/cli.ex b/lib/chessh/ssh/cli.ex
index 7ab0433..c7befe0 100644
--- a/lib/chessh/ssh/cli.ex
+++ b/lib/chessh/ssh/cli.ex
@@ -5,22 +5,22 @@ defmodule Chessh.SSH.Cli do
{:ok, %{}}
end
- def handle_msg(message, state) do
- {:ok, state}
- end
-
- def handle_ssh_msg(message, state) do
+ def handle_msg(_message, state) do
{:ok, state}
end
def handle_ssh_msg(
- {:ssh_cm, _connection_handler, {:exit_signal, channel_id, signal, err, lang}},
+ {:ssh_cm, _connection_handler, {:exit_signal, channel_id, _signal, _err, _lang}},
state
) do
{:stop, channel_id, state}
end
- def terminate(reason, state) do
+ def handle_ssh_msg(_message, state) do
+ {:ok, state}
+ end
+
+ def terminate(_reason, _state) do
:ok
end
end