Selaa lähdekoodia

elixir/cowboy: fix all unused variable warnings

Utkarsh Kukreti 9 vuotta sitten
vanhempi
commit
c3094e0fb9
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      frameworks/Elixir/cowboy/lib/hello.ex

+ 2 - 2
frameworks/Elixir/cowboy/lib/hello.ex

@@ -30,7 +30,7 @@ defmodule JsonHandler do
     { :ok, reply, state }
   end
 
-  def terminate(reason, request, state) do
+  def terminate(_reason, _request, _state) do
     :ok
   end
 end
@@ -48,7 +48,7 @@ defmodule PlaintextHandler do
     { :ok, reply, state }
   end
 
-  def terminate(reason, request, state) do
+  def terminate(_reason, _request, _state) do
     :ok
   end
 end