aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZandra <[email protected]>2016-05-30 10:59:24 +0200
committerZandra Hird <[email protected]>2016-06-07 14:33:47 +0200
commita6da9d5d54f6d30ab2c75c39589d1556c53060a8 (patch)
tree6fa765d1b099cba6726b87be42ea935352214794
parent6e533ab3a321031b30c3b9ef78e4b4d4878652e9 (diff)
downloadotp-a6da9d5d54f6d30ab2c75c39589d1556c53060a8.tar.gz
otp-a6da9d5d54f6d30ab2c75c39589d1556c53060a8.tar.bz2
otp-a6da9d5d54f6d30ab2c75c39589d1556c53060a8.zip
ct_hooks: Fix unmatched_return warnings
-rw-r--r--lib/common_test/src/ct_hooks.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_hooks.erl b/lib/common_test/src/ct_hooks.erl
index 5422d449fd..c9a4abb5ee 100644
--- a/lib/common_test/src/ct_hooks.erl
+++ b/lib/common_test/src/ct_hooks.erl
@@ -408,7 +408,8 @@ catch_apply(M,F,A, Default) ->
maybe_start_locker(Mod,GroupName,Opts) ->
case lists:member(parallel,Opts) of
true ->
- {ok, _Pid} = ct_hooks_lock:start({Mod,GroupName});
+ {ok, _Pid} = ct_hooks_lock:start({Mod,GroupName}),
+ ok;
false ->
ok
end.