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/system_profile_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/system_profile_SUITE.erl')
-rw-r--r-- | erts/emulator/test/system_profile_SUITE.erl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/erts/emulator/test/system_profile_SUITE.erl b/erts/emulator/test/system_profile_SUITE.erl index 2e359b11ce..3a8f862b05 100644 --- a/erts/emulator/test/system_profile_SUITE.erl +++ b/erts/emulator/test/system_profile_SUITE.erl @@ -542,8 +542,10 @@ has_runnable_event(TsType, Events) -> end end, Events). -has_profiler_pid_event([], _) -> false; -has_profiler_pid_event([{profile, Pid, _Activity, _MFA, _TS}|Events], Pid) -> true; +has_profiler_pid_event([], _) -> + false; +has_profiler_pid_event([{profile, Pid, _Activity, _MFA, _TS}|_Events], Pid) -> + true; has_profiler_pid_event([_|Events], Pid) -> has_profiler_pid_event(Events, Pid). |