diff options
author | Björn Gustavsson <[email protected]> | 2018-11-29 11:43:51 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2018-11-29 11:49:30 +0100 |
commit | d409ab76416108936610e043fa14a0a0f0d314af (patch) | |
tree | 386e7b39b601f0c2f427c40ccf189df0ce668af2 /lib/compiler/test/bs_match_SUITE.erl | |
parent | d3ecc9efa4e46af8659ad8189802024834afe410 (diff) | |
download | otp-d409ab76416108936610e043fa14a0a0f0d314af.tar.gz otp-d409ab76416108936610e043fa14a0a0f0d314af.tar.bz2 otp-d409ab76416108936610e043fa14a0a0f0d314af.zip |
Eliminate warnings for unused variables
Diffstat (limited to 'lib/compiler/test/bs_match_SUITE.erl')
-rw-r--r-- | lib/compiler/test/bs_match_SUITE.erl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/compiler/test/bs_match_SUITE.erl b/lib/compiler/test/bs_match_SUITE.erl index 01f302ad21..9a0d4cfd26 100644 --- a/lib/compiler/test/bs_match_SUITE.erl +++ b/lib/compiler/test/bs_match_SUITE.erl @@ -1814,11 +1814,10 @@ do_erl_689_2b(_, <<Length, Data/binary>>) -> %% ERL-753 bs_start_match2_defs(_Config) -> - {<<"http://127.0.0.1:1234/vsaas/hello">>} = api_url(<<"hello">>, dummy), - {"https://127.0.0.1:4321/vsaas/hello"} = api_url({https, "hello"}, dummy). + {<<"http://127.0.0.1:1234/vsaas/hello">>} = api_url(<<"hello">>), + {"https://127.0.0.1:4321/vsaas/hello"} = api_url({https, "hello"}). -api_url(URL, Auth) -> - Header = [], +api_url(URL) -> case URL of <<_/binary>> -> {<<"http://127.0.0.1:1234/vsaas/",URL/binary>>}; {https, [_|_] = URL1} -> {"https://127.0.0.1:4321/vsaas/"++URL1} |