diff options
author | Björn Gustavsson <[email protected]> | 2017-06-13 14:24:41 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-06-13 14:24:41 +0200 |
commit | 3ea80da9e908e0802b78e19bd29f4ccc2c7be703 (patch) | |
tree | eb4c4d8a38aedec4deb5d87d6c939a1062a6f994 /erts/emulator/test/scheduler_SUITE.erl | |
parent | f529828f540ad50cc157755fbd19d8b595ee07ee (diff) | |
download | otp-3ea80da9e908e0802b78e19bd29f4ccc2c7be703.tar.gz otp-3ea80da9e908e0802b78e19bd29f4ccc2c7be703.tar.bz2 otp-3ea80da9e908e0802b78e19bd29f4ccc2c7be703.zip |
Eliminate warnings for unused variables
Diffstat (limited to 'erts/emulator/test/scheduler_SUITE.erl')
-rw-r--r-- | erts/emulator/test/scheduler_SUITE.erl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/erts/emulator/test/scheduler_SUITE.erl b/erts/emulator/test/scheduler_SUITE.erl index 8d71df65e7..af33de237c 100644 --- a/erts/emulator/test/scheduler_SUITE.erl +++ b/erts/emulator/test/scheduler_SUITE.erl @@ -799,7 +799,7 @@ update_cpu_info(Config) when is_list(Config) -> unchanged -> ok; changed -> ok end; - {Avail, _} -> + {_Avail, _} -> try adjust_schedulers_online(), case erlang:system_info(schedulers_online) of @@ -848,7 +848,7 @@ update_cpu_info(Config) when is_list(Config) -> bits_in_mask(Mask) -> bits_in_mask(Mask, 0, 0). -bits_in_mask(0, Shift, N) -> +bits_in_mask(0, _Shift, N) -> N; bits_in_mask(Mask, Shift, N) -> case Mask band (1 bsl Shift) of @@ -1143,7 +1143,6 @@ dirty_scheduler_threads(Config) when is_list(Config) -> end. dirty_scheduler_threads_test(Config) -> - SmpSupport = erlang:system_info(smp_support), {Sched, SchedOnln, _} = get_dsstate(Config, ""), {HalfSched, HalfSchedOnln} = {lists:max([1,Sched div 2]), lists:max([1,SchedOnln div 2])}, |