From 959e8af4bdfd60b9e6fa0e3266ea599a6e2df71d Mon Sep 17 00:00:00 2001 From: Peter Andersson Date: Mon, 24 Mar 2014 09:58:34 +0100 Subject: Fix code to get rid of dialyzer warnings --- lib/common_test/src/ct_framework.erl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/common_test/src') diff --git a/lib/common_test/src/ct_framework.erl b/lib/common_test/src/ct_framework.erl index 63bfea68c4..a0bfdbfcf7 100644 --- a/lib/common_test/src/ct_framework.erl +++ b/lib/common_test/src/ct_framework.erl @@ -660,10 +660,7 @@ end_tc(Mod,Func,TCPid,Result,Args,Return) -> ct_util:delete_testdata(comment), ct_util:delete_suite_data(last_saved_config), - FuncSpec = case group_or_func(Func,Args) of - {_,_GroupName,_} = Group -> Group; - _ -> Func - end, + FuncSpec = group_or_func(Func,Args), {Result1,FinalNotify} = case ct_hooks:end_tc( -- cgit v1.2.3