aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/system_profile_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-06-13 14:24:41 +0200
committerBjörn Gustavsson <[email protected]>2017-06-13 14:24:41 +0200
commit3ea80da9e908e0802b78e19bd29f4ccc2c7be703 (patch)
treeeb4c4d8a38aedec4deb5d87d6c939a1062a6f994 /erts/emulator/test/system_profile_SUITE.erl
parentf529828f540ad50cc157755fbd19d8b595ee07ee (diff)
downloadotp-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.erl6
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).