aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/cth_log_redirect.erl
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2018-06-11 12:04:18 +0200
committerKostis Sagonas <[email protected]>2018-06-11 12:04:18 +0200
commite0f6c9f20d62e2c596a7103809d464c4aaa6b769 (patch)
tree753b7afb2ddcfa25c12312388048ee4e28b75c7f /lib/common_test/src/cth_log_redirect.erl
parentcf2ad431487cb533aac2854843aa61b8e1e5af62 (diff)
downloadotp-e0f6c9f20d62e2c596a7103809d464c4aaa6b769.tar.gz
otp-e0f6c9f20d62e2c596a7103809d464c4aaa6b769.tar.bz2
otp-e0f6c9f20d62e2c596a7103809d464c4aaa6b769.zip
Fix some unmatched_return warnings
Diffstat (limited to 'lib/common_test/src/cth_log_redirect.erl')
-rw-r--r--lib/common_test/src/cth_log_redirect.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/common_test/src/cth_log_redirect.erl b/lib/common_test/src/cth_log_redirect.erl
index 68742ab0ee..8cf0b39101 100644
--- a/lib/common_test/src/cth_log_redirect.erl
+++ b/lib/common_test/src/cth_log_redirect.erl
@@ -124,7 +124,8 @@ start_log_handler() ->
shutdown=>2000,
type=>worker,
modules=>[?MODULE]},
- {ok,_} = supervisor:start_child(logger_sup,ChildSpec);
+ {ok,_} = supervisor:start_child(logger_sup,ChildSpec),
+ ok;
_Pid ->
ok
end,