aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2014-03-22 00:41:08 +0100
committerPeter Andersson <[email protected]>2014-03-22 00:41:08 +0100
commitb46352eabdf52aff1de2f9db05b79be9076b4489 (patch)
treeaaee0f87d47af1da4840382f07bab44768375d79 /lib
parent57a9bc4c710690d1c7b219a9cd53b8cecbe6851e (diff)
downloadotp-b46352eabdf52aff1de2f9db05b79be9076b4489.tar.gz
otp-b46352eabdf52aff1de2f9db05b79be9076b4489.tar.bz2
otp-b46352eabdf52aff1de2f9db05b79be9076b4489.zip
Remove dead code
Diffstat (limited to 'lib')
-rw-r--r--lib/common_test/src/ct_conn_log_h.erl9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/common_test/src/ct_conn_log_h.erl b/lib/common_test/src/ct_conn_log_h.erl
index d733df27dc..cff02a46d9 100644
--- a/lib/common_test/src/ct_conn_log_h.erl
+++ b/lib/common_test/src/ct_conn_log_h.erl
@@ -204,13 +204,8 @@ pretty_head({{{Y,Mo,D},{H,Mi,S}},MicroS},ConnMod,Text0) ->
micro2milli(MicroS)]).
pretty_title(#conn_log{client=Client}=Info) ->
- case actionstr(Info) of
- {no_server,Action} ->
- io_lib:format("= Client ~w ~s ",[Client,Action]);
- Action ->
- io_lib:format("= Client ~w ~s ~ts ",[Client,Action,
- serverstr(Info)])
- end.
+ io_lib:format("= Client ~w ~s ~ts ",
+ [Client,actionstr(Info),serverstr(Info)]).
actionstr(#conn_log{action=send}) -> "----->";
actionstr(#conn_log{action=cmd}) -> "----->";