aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_gen_conn.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2014-03-21 15:27:51 +0100
committerSiri Hansen <[email protected]>2014-03-21 15:27:51 +0100
commit925d96141a95c61206ccaf7469f03918d9172760 (patch)
treec463ba12e5fca95919bf81e591bf9480567f3941 /lib/common_test/src/ct_gen_conn.erl
parent3c06b5b3cdde72453d97910889e38e91c1dd4870 (diff)
downloadotp-925d96141a95c61206ccaf7469f03918d9172760.tar.gz
otp-925d96141a95c61206ccaf7469f03918d9172760.tar.bz2
otp-925d96141a95c61206ccaf7469f03918d9172760.zip
Fix some dialyzer warnings in ct_netconfc
Diffstat (limited to 'lib/common_test/src/ct_gen_conn.erl')
-rw-r--r--lib/common_test/src/ct_gen_conn.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/common_test/src/ct_gen_conn.erl b/lib/common_test/src/ct_gen_conn.erl
index 239f5b5f25..56082086f6 100644
--- a/lib/common_test/src/ct_gen_conn.erl
+++ b/lib/common_test/src/ct_gen_conn.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2003-2013. All Rights Reserved.
+%% Copyright Ericsson AB 2003-2014. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -307,7 +307,8 @@ call(Pid, Msg, Timeout) ->
end.
return({To,Ref},Result) ->
- To ! {Ref, Result}.
+ To ! {Ref, Result},
+ ok.
init_gen(Parent,Opts) ->
process_flag(trap_exit,true),