summaryrefslogtreecommitdiffstats
path: root/src/ct_helper_error_h.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2021-03-18 10:23:46 +0100
committerLoïc Hoguin <[email protected]>2021-03-18 10:23:46 +0100
commitc482e1c602a964d54d2398f43a0e14b1cd63cce3 (patch)
tree12654bc2ead08b737ed6e939c4f34b18babb369b /src/ct_helper_error_h.erl
parent8a7a872cf47811a406f61d4121465bf9a6fa8086 (diff)
downloadct_helper-c482e1c602a964d54d2398f43a0e14b1cd63cce3.tar.gz
ct_helper-c482e1c602a964d54d2398f43a0e14b1cd63cce3.tar.bz2
ct_helper-c482e1c602a964d54d2398f43a0e14b1cd63cce3.zip
Fix Dialyzer warnings
Diffstat (limited to 'src/ct_helper_error_h.erl')
-rw-r--r--src/ct_helper_error_h.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ct_helper_error_h.erl b/src/ct_helper_error_h.erl
index 796e07a..2cf88c8 100644
--- a/src/ct_helper_error_h.erl
+++ b/src/ct_helper_error_h.erl
@@ -156,9 +156,10 @@ code_change(_, State, _) ->
%% Internal.
write_event(Event) ->
- error_logger_tty_h:write_event(
+ _ = error_logger_tty_h:write_event(
{erlang:universaltime(), Event},
- io).
+ io),
+ ok.
count_args("]" ++ _, N, 0) ->
N;