diff options
author | Björn Gustavsson <[email protected]> | 2018-01-12 06:44:38 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2018-01-12 11:50:58 +0100 |
commit | a0933c17ff0743fbd284856cdfd2f50ac511f8f5 (patch) | |
tree | fbcd13ac3830b531140ddeb54a6389134ae2cee4 | |
parent | 113f9ad110ee1841ae385594a027b66b852d0cc1 (diff) | |
download | otp-a0933c17ff0743fbd284856cdfd2f50ac511f8f5.tar.gz otp-a0933c17ff0743fbd284856cdfd2f50ac511f8f5.tar.bz2 otp-a0933c17ff0743fbd284856cdfd2f50ac511f8f5.zip |
beam_match_SUITE: Eliminate warnings for unused variables
-rw-r--r-- | lib/compiler/test/bs_match_SUITE.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/compiler/test/bs_match_SUITE.erl b/lib/compiler/test/bs_match_SUITE.erl index c2c5387eb6..7557d6d57b 100644 --- a/lib/compiler/test/bs_match_SUITE.erl +++ b/lib/compiler/test/bs_match_SUITE.erl @@ -801,7 +801,7 @@ multiple_uses_cmp(<<_:16>>, <<_:16>>) -> false. first_after(Data, Offset) -> case byte_size(Data) > Offset of false -> - {First, Rest} = {ok, ok}, + {_First, _Rest} = {ok, ok}, ok; true -> <<_:Offset/binary, Rest/binary>> = Data, @@ -1515,7 +1515,7 @@ is_next_char_whitespace(<<C/utf8,_/binary>>) -> {this_hdr = 17, ext_hdr_opts}). -get_payload(Config) -> +get_payload(_Config) -> <<3445:48>> = do_get_payload(#ext_header{ext_hdr_opts = <<3445:48>>}), {'EXIT',_} = (catch do_get_payload(#ext_header{})), ok. @@ -1624,7 +1624,7 @@ bsm_must_save_and_not_save(<<>>, []) -> []. guard(_Config) -> - Tuple = id({a,b}), + _Tuple = id({a,b}), ok = guard_1(<<1,2,3>>, {1,2,3}), ok = guard_2(<<42>>, #{}), ok. |