From 7a05305f335cf2c92bc20963cb7bac51b101ed79 Mon Sep 17 00:00:00 2001 From: Zandra Date: Tue, 24 May 2016 08:40:21 +0200 Subject: test_server_sup - Fix unmatched_return warnings --- lib/common_test/src/test_server_sup.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/common_test') diff --git a/lib/common_test/src/test_server_sup.erl b/lib/common_test/src/test_server_sup.erl index 7098f72134..6922e01fcc 100644 --- a/lib/common_test/src/test_server_sup.erl +++ b/lib/common_test/src/test_server_sup.erl @@ -755,7 +755,7 @@ framework_call(FW,_Func,_Args,DefaultReturn) DefaultReturn; framework_call(Callback,Func,Args,DefaultReturn) -> Mod = list_to_atom(Callback), - case code:is_loaded(Mod) of + _ = case code:is_loaded(Mod) of false -> code:load_file(Mod); _ -> ok end, -- cgit v1.2.3