Ignore unused cli vars
This commit is contained in:
parent
42425b0226
commit
9add1557b3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user