Ignore unused cli vars

This commit is contained in:
Simponic 2022-12-30 05:49:40 -07:00
parent 42425b0226
commit 9add1557b3
Signed by untrusted user who does not match committer: simponic
GPG Key ID: 52B3774857EB24B1

View File

@ -5,22 +5,22 @@ defmodule Chessh.SSH.Cli do
{:ok, %{}} {:ok, %{}}
end end
def handle_msg(message, state) do def handle_msg(_message, state) do
{:ok, state}
end
def handle_ssh_msg(message, state) do
{:ok, state} {:ok, state}
end end
def handle_ssh_msg( 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 state
) do ) do
{:stop, channel_id, state} {:stop, channel_id, state}
end end
def terminate(reason, state) do def handle_ssh_msg(_message, state) do
{:ok, state}
end
def terminate(_reason, _state) do
:ok :ok
end end
end end