From 28fede2494b93549efb581e3969d94e0e27c90f6 Mon Sep 17 00:00:00 2001 From: Marius Melzer Date: Sat, 6 Jun 2020 22:00:37 +0200 Subject: [PATCH] Fix unused variable warning --- lib/signal_tower/msg_integrity.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/signal_tower/msg_integrity.ex b/lib/signal_tower/msg_integrity.ex index 0d9d3c8..db80d0b 100644 --- a/lib/signal_tower/msg_integrity.ex +++ b/lib/signal_tower/msg_integrity.ex @@ -29,7 +29,7 @@ defmodule SignalTower.MsgIntegrity do defp complete?("send_to_peer", msg), do: is_binary(msg["peer_id"]) && is_map(msg["data"]) defp complete?("update_status", msg), do: is_map(msg["status"]) - defp complete?("leave_room", msg), do: true + defp complete?("leave_room", _msg), do: true defp complete?("ping", _msg), do: true defp complete?(_, _), do: false