0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Remove a dead code clause for split_path.

This commit is contained in:
Loïc Hoguin 2011-03-20 00:03:02 +01:00
parent b874b28561
commit 896b854908

View file

@ -25,8 +25,6 @@ split_host(Host) ->
string:tokens(Host, "."). string:tokens(Host, ".").
-spec split_path(Path::string()) -> {Tokens::path_tokens(), Qs::string()}. -spec split_path(Path::string()) -> {Tokens::path_tokens(), Qs::string()}.
split_path('*') ->
{'*', []};
split_path(Path) -> split_path(Path) ->
case string:chr(Path, $?) of case string:chr(Path, $?) of
0 -> 0 ->