Browse Source

elixir/cowboy: fix all unused variable warnings

Utkarsh Kukreti 9 years ago
parent
commit
c3094e0fb9
1 changed files with 2 additions and 2 deletions
  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 }
     { :ok, reply, state }
   end
   end
 
 
-  def terminate(reason, request, state) do
+  def terminate(_reason, _request, _state) do
     :ok
     :ok
   end
   end
 end
 end
@@ -48,7 +48,7 @@ defmodule PlaintextHandler do
     { :ok, reply, state }
     { :ok, reply, state }
   end
   end
 
 
-  def terminate(reason, request, state) do
+  def terminate(_reason, _request, _state) do
     :ok
     :ok
   end
   end
 end
 end