Skip to content

Commit 9dc71a7

Browse files
committed
Address some compilation warnings
1 parent e60da82 commit 9dc71a7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/hash_password_command.ex

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ defmodule RabbitMQ.CLI.Ctl.Commands.HashPasswordCommand do
3333
{:bad_argument, "password cannot be an empty string"}
3434
end
3535

36-
def validate([arg], _options) do
36+
def validate([_arg], _options) do
3737
:ok
3838
end
3939

4040
use RabbitMQ.CLI.DefaultOutput
4141

4242
def usage, do: "hash_password <cleartext_password>"
4343

44-
def banner([arg], %{node: node_name}),
44+
def banner([arg], %{node: _node_name}),
4545
do: "Will hash password #{arg}"
4646
end

deps/rabbitmq_cli/lib/rabbitmq/cli/diagnostics/diagnostics_helpers.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ defmodule RabbitMQ.CLI.Diagnostics.Helpers do
2525
check_port_connectivity(port, node_name, hostname, timeout)
2626
end
2727

28-
def check_port_connectivity(port, node_name, hostname_or_ip, timeout) do
28+
def check_port_connectivity(port, _node_name, hostname_or_ip, timeout) do
2929
try do
3030
IO.puts("Will connect to #{hostname_or_ip}:#{port}")
3131

0 commit comments

Comments
 (0)