aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/trace_meta_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-02-23 13:03:17 +0100
committerBjörn Gustavsson <[email protected]>2011-02-23 13:03:17 +0100
commit88994f8e203dc6bf31968cad0bc70b6789a15a0b (patch)
tree23ca9855ede99f96630c6d873c0fc2d48cc9fb20 /erts/emulator/test/trace_meta_SUITE.erl
parent84884b96de521491d34a19b1b3497d3d76549126 (diff)
downloadotp-88994f8e203dc6bf31968cad0bc70b6789a15a0b.tar.gz
otp-88994f8e203dc6bf31968cad0bc70b6789a15a0b.tar.bz2
otp-88994f8e203dc6bf31968cad0bc70b6789a15a0b.zip
emulator tests: Eliminate some compiler warnings
Diffstat (limited to 'erts/emulator/test/trace_meta_SUITE.erl')
-rw-r--r--erts/emulator/test/trace_meta_SUITE.erl7
1 files changed, 1 insertions, 6 deletions
diff --git a/erts/emulator/test/trace_meta_SUITE.erl b/erts/emulator/test/trace_meta_SUITE.erl
index 666bd60511..45987cc319 100644
--- a/erts/emulator/test/trace_meta_SUITE.erl
+++ b/erts/emulator/test/trace_meta_SUITE.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2002-2010. All Rights Reserved.
+%% Copyright Ericsson AB 2002-2011. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -613,11 +613,6 @@ loop(D1,D2,D3,0) ->
loop(D1,D2,D3,N) ->
max(N,loop(D1,D2,D3,N-1)).
-max(A,B) when A > B ->
- A;
-max(_A,B) ->
- B.
-
id(X) ->
X.