aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/beam_utils_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2018-12-13 12:14:20 +0100
committerBjörn Gustavsson <[email protected]>2018-12-13 12:14:20 +0100
commit56f93ad10f89e6b8d3372e45127ec9fdc3fca35b (patch)
tree02082d1c518b0dbb3b0328b09b5a14d772908025 /lib/compiler/test/beam_utils_SUITE.erl
parent472b0669788e155f28851999b4e60bf8302ca2d5 (diff)
parent4a9f0baf0bed804473fc71d9aa0d8f0f265a0cd3 (diff)
downloadotp-56f93ad10f89e6b8d3372e45127ec9fdc3fca35b.tar.gz
otp-56f93ad10f89e6b8d3372e45127ec9fdc3fca35b.tar.bz2
otp-56f93ad10f89e6b8d3372e45127ec9fdc3fca35b.zip
Merge branch 'bjorn/cuddle-with-tests'
* bjorn/cuddle-with-tests: Cover code in beam_ssa_opt Cover code in beam_ssa_dead Cover code in beam_trim Eliminate warnings for unused variables regressions_SUITE: Fix exports map_SUITE: Test for mixed map creation map_SUITE: Fix indentation
Diffstat (limited to 'lib/compiler/test/beam_utils_SUITE.erl')
-rw-r--r--lib/compiler/test/beam_utils_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/compiler/test/beam_utils_SUITE.erl b/lib/compiler/test/beam_utils_SUITE.erl
index ff0f72d519..eb0af59f9d 100644
--- a/lib/compiler/test/beam_utils_SUITE.erl
+++ b/lib/compiler/test/beam_utils_SUITE.erl
@@ -197,7 +197,7 @@ do_bs_init_4(Arg1, Arg2) ->
id(Rewrite)
end/binary,
"/shared">>);
- Other ->
+ _Other ->
error
end.
@@ -553,7 +553,7 @@ not_used_p(_C, S, K, L) when is_record(K, k) ->
id(K)
end.
-is_used_fr(Config) ->
+is_used_fr(_Config) ->
1 = is_used_fr(self(), self()),
1 = is_used_fr(self(), other),
receive 1 -> ok end,
@@ -572,7 +572,7 @@ is_used_fr(X, Y) ->
X ! 1.
%% ERL-778.
-unsafe_is_function(Config) ->
+unsafe_is_function(_Config) ->
{undefined,any} = unsafe_is_function(undefined, any),
{ok,any} = unsafe_is_function(fun() -> ok end, any),
{'EXIT',{{case_clause,_},_}} = (catch unsafe_is_function(fun(_) -> ok end, any)),