aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test
diff options
context:
space:
mode:
authorZandra <[email protected]>2016-05-30 10:50:48 +0200
committerZandra Hird <[email protected]>2016-06-07 14:33:23 +0200
commit2aff0f457896afda2c897996b49abb949300b994 (patch)
tree2b458f7f35bfccdc2ddefc4eb18a9e7c08c9ec87 /lib/common_test
parent1e258b988462469cc39c8e7a3297ad4372b4c62b (diff)
downloadotp-2aff0f457896afda2c897996b49abb949300b994.tar.gz
otp-2aff0f457896afda2c897996b49abb949300b994.tar.bz2
otp-2aff0f457896afda2c897996b49abb949300b994.zip
ct_ftp: Fix unmatched_return warnings
Diffstat (limited to 'lib/common_test')
-rw-r--r--lib/common_test/src/ct_ftp.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_ftp.erl b/lib/common_test/src/ct_ftp.erl
index 48914864e4..84e664b387 100644
--- a/lib/common_test/src/ct_ftp.erl
+++ b/lib/common_test/src/ct_ftp.erl
@@ -292,7 +292,7 @@ init(KeyOrName,{IP,Port},{Username,Password}) ->
end.
ftp_connect(IP,Port,Username,Password) ->
- inets:start(),
+ _ = inets:start(),
case inets:start(ftpc,[{host,IP},{port,Port}]) of
{ok,FtpPid} ->
case ftp:user(FtpPid,Username,Password) of