lib/nitcorn: fix `useless var` warnings
authorAlexandre Terrasa <alexandre@moz-code.org>
Wed, 1 Jun 2016 14:44:14 +0000 (10:44 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Wed, 1 Jun 2016 14:44:14 +0000 (10:44 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

lib/nitcorn/examples/src/htcpcp_server.nit

index 6614533..315d76f 100644 (file)
@@ -34,7 +34,6 @@ class HTCPCPAction
        redef fun answer(http_request, turi) do
                var message: String
                var method = http_request.method
-               var headers = http_request.header
                var response: HttpResponse
 
                if is_teapot == true then