diff --git a/http-server.c b/http-server.c
index c6b45c5017d2f89e4073314c3f7bc51e20fc9ce0..e215827f4c4e07f8e621c69beb2adbc21292ade9 100644
--- a/http-server.c
+++ b/http-server.c
@@ -130,7 +130,6 @@ static bool handle_http_request(int sockfd)
 
     // parse the method
     printf("cur is:      %s\n\n", curr);
-    METHOD method = UNKNOWN;
     Request* req = parse_request(curr);
     printf("%s\n%s\n", req->url, req->version);
     if (strncmp(req->url, "?start=Start", 12)  == 0){