aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-10-05 13:05:18 +0200
committerBjörn Gustavsson <[email protected]>2017-10-11 10:11:40 +0200
commit0f2e313475bae2d3870333b0340e8453bbff51a5 (patch)
tree6a4e38e3af4f8d06d93d398143f14b72801ecba4
parent32ff5b0372e3dd4db8d9a30de2e0b9995d3fc883 (diff)
downloadotp-0f2e313475bae2d3870333b0340e8453bbff51a5.tar.gz
otp-0f2e313475bae2d3870333b0340e8453bbff51a5.tar.bz2
otp-0f2e313475bae2d3870333b0340e8453bbff51a5.zip
Eliminate warnings for ignoring the result of an expression
-rw-r--r--erts/emulator/test/system_info_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/test/system_info_SUITE.erl b/erts/emulator/test/system_info_SUITE.erl
index 56522039da..fdf4aab24d 100644
--- a/erts/emulator/test/system_info_SUITE.erl
+++ b/erts/emulator/test/system_info_SUITE.erl
@@ -308,9 +308,9 @@ memory_test(_Config) ->
mem_workers_call(MWs,
fun () ->
- list_to_atom("an ugly atom "++integer_to_list(erlang:system_info(scheduler_id))),
- list_to_atom("another ugly atom "++integer_to_list(erlang:system_info(scheduler_id))),
- list_to_atom("yet another ugly atom "++integer_to_list(erlang:system_info(scheduler_id)))
+ _ = list_to_atom("an ugly atom "++integer_to_list(erlang:system_info(scheduler_id))),
+ _ = list_to_atom("another ugly atom "++integer_to_list(erlang:system_info(scheduler_id))),
+ _ = list_to_atom("yet another ugly atom "++integer_to_list(erlang:system_info(scheduler_id)))
end, []),
cmp_memory(MWs, "new atoms"),