aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2012-08-24 11:09:35 +0200
committerLukas Larsson <[email protected]>2012-08-30 15:37:24 +0200
commit0e5190b8970e6514da9100f5664284c786dee6a2 (patch)
tree22ad6d544192c45d73a83850235633e692cf6f6c /lib
parentcfc6bb25d488aedaef6749d274afa536af31e65f (diff)
downloadotp-0e5190b8970e6514da9100f5664284c786dee6a2.tar.gz
otp-0e5190b8970e6514da9100f5664284c786dee6a2.tar.bz2
otp-0e5190b8970e6514da9100f5664284c786dee6a2.zip
Fix compile warning
Diffstat (limited to 'lib')
-rw-r--r--lib/common_test/src/cth_surefire.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/cth_surefire.erl b/lib/common_test/src/cth_surefire.erl
index e7bd84e51b..76b0f0b5ea 100644
--- a/lib/common_test/src/cth_surefire.erl
+++ b/lib/common_test/src/cth_surefire.erl
@@ -92,7 +92,7 @@ on_tc_fail(_TC, Res, State) ->
{fail,lists:flatten(io_lib:format("~p",[Res]))} },
State#state{ test_cases = [NewTC | tl(TCs)]}.
-on_tc_skip(Tc,{Type,Reason} = Res, State) when Type == tc_auto_skip ->
+on_tc_skip(Tc,{Type,_Reason} = Res, State) when Type == tc_auto_skip ->
do_tc_skip(Res, end_tc(Tc,[],Res,init_tc(State,[])));
on_tc_skip(_Tc, _Res, State = #state{test_cases = []}) ->
State;