aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_dispatcher.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-03-20 00:03:02 +0100
committerLoïc Hoguin <[email protected]>2011-03-20 00:03:02 +0100
commit896b854908319a1f7e7ff186980ba09a7a6c5802 (patch)
treef0f57ce41aacfe03e11146fbdfd08277f94a6b94 /src/cowboy_dispatcher.erl
parentb874b28561e0e3d626245dee91ac44ad4d8218f1 (diff)
downloadcowboy-896b854908319a1f7e7ff186980ba09a7a6c5802.tar.gz
cowboy-896b854908319a1f7e7ff186980ba09a7a6c5802.tar.bz2
cowboy-896b854908319a1f7e7ff186980ba09a7a6c5802.zip
Remove a dead code clause for split_path.
Diffstat (limited to 'src/cowboy_dispatcher.erl')
-rw-r--r--src/cowboy_dispatcher.erl2
1 files changed, 0 insertions, 2 deletions
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 ->