diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-05-17 14:55:15 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-05-18 14:20:54 +0200 |
commit | 5fece0527f25a59a9e22e594d66aec8b21fab2dc (patch) | |
tree | fc8ddf49507b0781e686442cc62138e03f082eb3 /lib | |
parent | 0545c22c9c07c55569e067c57ec184f018a54947 (diff) | |
download | otp-5fece0527f25a59a9e22e594d66aec8b21fab2dc.tar.gz otp-5fece0527f25a59a9e22e594d66aec8b21fab2dc.tar.bz2 otp-5fece0527f25a59a9e22e594d66aec8b21fab2dc.zip |
odbc: Fix unmatched return warnings
Diffstat (limited to 'lib')
-rw-r--r-- | lib/odbc/src/odbc.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/odbc/src/odbc.erl b/lib/odbc/src/odbc.erl index 6b0ff27907..8871acd3f4 100644 --- a/lib/odbc/src/odbc.erl +++ b/lib/odbc/src/odbc.erl @@ -833,7 +833,7 @@ connect(ConnectionReferense, ConnectionStr, Options) -> odbc_send(Socket, Msg) -> %% Note currently all allowed messages are lists NewMsg = Msg ++ [?STR_TERMINATOR], ok = gen_tcp:send(Socket, NewMsg), - inet:setopts(Socket, [{active, once}]). + ok = inet:setopts(Socket, [{active, once}]). %%-------------------------------------------------------------------------- connection_config(Key, Options) -> |