From 896b854908319a1f7e7ff186980ba09a7a6c5802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 20 Mar 2011 00:03:02 +0100 Subject: Remove a dead code clause for split_path. --- src/cowboy_dispatcher.erl | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/cowboy_dispatcher.erl') diff --git a/src/cowboy_dispatcher.erl b/src/cowboy_dispatcher.erl index d5ce6f7..a5be924 100644 --- a/src/cowboy_dispatcher.erl +++ b/src/cowboy_dispatcher.erl @@ -25,8 +25,6 @@ split_host(Host) -> string:tokens(Host, "."). -spec split_path(Path::string()) -> {Tokens::path_tokens(), Qs::string()}. -split_path('*') -> - {'*', []}; split_path(Path) -> case string:chr(Path, $?) of 0 -> -- cgit v1.2.3